summaryrefslogtreecommitdiffstats
path: root/vendor/tabled/src/grid/dimension/mod.rs
blob: 2f67b402f64870dc01308ccff788b10d7e9fb0f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//! Module contains a list of implementations of [`Estimate`] and [`Dimension`].

mod const_dimension;
mod pool_table_dimension;

#[cfg(feature = "std")]
mod complete_dimension;
#[cfg(feature = "std")]
mod complete_dimension_vec_records;
#[cfg(feature = "std")]
mod peekable_dimension;
#[cfg(feature = "std")]
mod static_dimension;

#[cfg(feature = "std")]
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
pub use self::{
    complete_dimension::CompleteDimension,
    complete_dimension_vec_records::CompleteDimensionVecRecords,
    peekable_dimension::PeekableDimension,
    static_dimension::{DimensionValue, StaticDimension},
};
pub use const_dimension::{ConstDimension, ConstSize};
pub use papergrid::dimension::{Dimension, Estimate};
pub use pool_table_dimension::{DimensionPriority, PoolTableDimension};

#[cfg(feature = "std")]
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
pub use papergrid::dimension::{
    compact::CompactGridDimension, spanned::SpannedGridDimension,
    spanned_vec_records::SpannedVecRecordsDimension,
};