Enum tabled::grid::dimension::DimensionValue
source · pub enum DimensionValue {
Exact(usize),
List(Vec<usize>),
Partial(Vec<usize>, usize),
}
Available on crate feature
std
only.Expand description
A dimension value.
Variants§
Exact(usize)
Const width value.
List(Vec<usize>)
A list of width values for columns.
Partial(Vec<usize>, usize)
A list of width values for columns and a value for the rest.
Implementations§
Trait Implementations§
source§impl Clone for DimensionValue
impl Clone for DimensionValue
source§fn clone(&self) -> DimensionValue
fn clone(&self) -> DimensionValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for DimensionValue
impl Send for DimensionValue
impl Sync for DimensionValue
impl Unpin for DimensionValue
impl UnwindSafe for DimensionValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more