tabled::measurment

Trait Measurment

Source
pub trait Measurment<Attribute> {
    // Required method
    fn measure<R>(&self, records: R, cfg: &GridConfig) -> usize
       where R: Records;
}
Expand description

A width value which can be obtained on behalf of Table.

Required Methods§

Source

fn measure<R>(&self, records: R, cfg: &GridConfig) -> usize
where R: Records,

Returns a measurment value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> Measurment<T> for usize

Source§

fn measure<R>(&self, _: R, _: &GridConfig) -> usize

Implementors§