pub enum ItemToleranceStyleValue {
Normal(Ident),
LengthPercentage(LengthPercentage),
Infinite(Ident),
}Expand description
Represents the style value for item-tolerance as defined in css-grid-3.
The grammar is defined as:
normal | <length-percentage> | infiniteVariants§
Trait Implementations§
Source§impl Clone for ItemToleranceStyleValue
impl Clone for ItemToleranceStyleValue
Source§fn clone(&self) -> ItemToleranceStyleValue
fn clone(&self) -> ItemToleranceStyleValue
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 ItemToleranceStyleValue
impl Debug for ItemToleranceStyleValue
Source§impl Hash for ItemToleranceStyleValue
impl Hash for ItemToleranceStyleValue
Source§impl Ord for ItemToleranceStyleValue
impl Ord for ItemToleranceStyleValue
Source§fn cmp(&self, other: &ItemToleranceStyleValue) -> Ordering
fn cmp(&self, other: &ItemToleranceStyleValue) -> 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<'a> Parse<'a> for ItemToleranceStyleValue
impl<'a> Parse<'a> for ItemToleranceStyleValue
Source§impl PartialEq for ItemToleranceStyleValue
impl PartialEq for ItemToleranceStyleValue
Source§impl PartialOrd for ItemToleranceStyleValue
impl PartialOrd for ItemToleranceStyleValue
Source§impl<'a> Peek<'a> for ItemToleranceStyleValue
impl<'a> Peek<'a> for ItemToleranceStyleValue
Source§impl ToCursors for ItemToleranceStyleValue
impl ToCursors for ItemToleranceStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ItemToleranceStyleValue
impl StructuralPartialEq for ItemToleranceStyleValue
Auto Trait Implementations§
impl Freeze for ItemToleranceStyleValue
impl RefUnwindSafe for ItemToleranceStyleValue
impl Send for ItemToleranceStyleValue
impl Sync for ItemToleranceStyleValue
impl Unpin for ItemToleranceStyleValue
impl UnwindSafe for ItemToleranceStyleValue
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