pub enum DimensionPriority {
First,
Last,
List,
}
Expand description
A control of width/height logic for situations where we must increase some cell to align columns/row.
Variants§
First
Increase first cell width/height in a row/column.
Last
Increase last cell width/height in a row/column.
List
Increase cells width/height 1 by 1 in a row/column.
Trait Implementations§
Source§impl Clone for DimensionPriority
impl Clone for DimensionPriority
Source§fn clone(&self) -> DimensionPriority
fn clone(&self) -> DimensionPriority
Returns a duplicate 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 moreSource§impl Debug for DimensionPriority
impl Debug for DimensionPriority
Source§impl Ord for DimensionPriority
impl Ord for DimensionPriority
Source§fn cmp(&self, other: &DimensionPriority) -> Ordering
fn cmp(&self, other: &DimensionPriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DimensionPriority
impl PartialEq for DimensionPriority
Source§impl PartialOrd for DimensionPriority
impl PartialOrd for DimensionPriority
impl Copy for DimensionPriority
impl Eq for DimensionPriority
impl StructuralPartialEq for DimensionPriority
Auto Trait Implementations§
impl Freeze for DimensionPriority
impl RefUnwindSafe for DimensionPriority
impl Send for DimensionPriority
impl Sync for DimensionPriority
impl Unpin for DimensionPriority
impl UnwindSafe for DimensionPriority
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