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.

Implementors§

source§

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

Available on crate feature std only.
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: AsRef<str>,

Available on crate feature std only.
source§

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

source§

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

Available on crate feature std only.
source§

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

source§

impl<T> Estimate<&VecRecords<CellInfo<T>>, SpannedConfig> for PeekableDimension
where T: AsRef<str>,

Available on crate feature std only.
source§

impl<T> Estimate<&VecRecords<T>, SpannedConfig> for SpannedVecRecordsDimension
where T: Cell + AsRef<str>,

source§

impl<T: AsRef<str> + Cell> Estimate<&VecRecords<T>, ColoredConfig> for CompleteDimensionVecRecords<'_>

Available on crate feature std only.
source§

impl<T: AsRef<str> + Cell> Estimate<&VecRecords<T>, SpannedConfig> for CompleteDimensionVecRecords<'_>

Available on crate feature std only.