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§

source

fn get_width(&self, column: usize) -> usize

Get a column width by index.

source

fn get_height(&self, row: usize) -> usize

Get a row height by index.

Implementations on Foreign Types§

source§

impl<T> Dimension for &T
where T: Dimension,

source§

fn get_height(&self, row: usize) -> usize

source§

fn get_width(&self, column: usize) -> usize

Implementors§