pub trait Dimension {
// Required methods
fn get_width(&self, column: usize) -> usize;
fn get_height(&self, row: usize) -> usize;
}
Expand description
Dimension of a grid.
It’s a friend trait of Estimate
.
Required Methods§
Sourcefn get_height(&self, row: usize) -> usize
fn get_height(&self, row: usize) -> usize
Get a row height by index.