Trait Estimate

Source
pub trait Estimate<R, C> {
    // Required method
    fn estimate(&mut self, records: R, config: &C);
}
Expand description

Dimension estimation of a grid.

It’s a friend trait of Dimension.

Required Methods§

Source

fn estimate(&mut self, records: R, config: &C)

Estimates a metric.

Implementations on Foreign Types§

Source§

impl<T, R, C> Estimate<R, C> for &mut T
where T: Estimate<R, C>,

Source§

fn estimate(&mut self, records: R, config: &C)

Implementors§

Source§

impl<R> Estimate<R, ColoredConfig> for CompleteDimension
where R: Records, <R::Iter as IntoRecords>::Cell: Cell,

Source§

impl<R> Estimate<R, CompactConfig> for CompactGridDimension
where R: Records, <<R as Records>::Iter as IntoRecords>::Cell: AsRef<str>,

Source§

impl<R> Estimate<R, SpannedConfig> for CompleteDimension
where R: Records, <R::Iter as IntoRecords>::Cell: Cell,

Source§

impl<R> Estimate<R, SpannedConfig> for IterGridDimension
where R: Records, <<R as Records>::Iter as IntoRecords>::Cell: AsRef<str>,

Source§

impl<R> Estimate<R, SpannedConfig> for PeekableGridDimension
where R: Records, <<R as Records>::Iter as IntoRecords>::Cell: Cell,

Source§

impl<R, C> Estimate<R, C> for StaticDimension

Source§

impl<R, C> Estimate<R, C> for ZeroDimension

Source§

impl<R, D, const COLUMNS: usize, const ROWS: usize> Estimate<R, D> for ConstDimension<COLUMNS, ROWS>