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