pub enum FieldSizingStyleValue {
Fixed(Ident),
Content(Ident),
}Expand description
Represents the style value for field-sizing as defined in css-forms-1.
The field-sizing CSS property allows form controls such as
The grammar is defined as:
fixed | contentVariants§
Trait Implementations§
Source§impl Clone for FieldSizingStyleValue
impl Clone for FieldSizingStyleValue
Source§fn clone(&self) -> FieldSizingStyleValue
fn clone(&self) -> FieldSizingStyleValue
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 FieldSizingStyleValue
impl Debug for FieldSizingStyleValue
Source§impl Hash for FieldSizingStyleValue
impl Hash for FieldSizingStyleValue
Source§impl Ord for FieldSizingStyleValue
impl Ord for FieldSizingStyleValue
Source§fn cmp(&self, other: &FieldSizingStyleValue) -> Ordering
fn cmp(&self, other: &FieldSizingStyleValue) -> 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 FieldSizingStyleValue
impl<'a> Parse<'a> for FieldSizingStyleValue
Source§impl PartialEq for FieldSizingStyleValue
impl PartialEq for FieldSizingStyleValue
Source§impl PartialOrd for FieldSizingStyleValue
impl PartialOrd for FieldSizingStyleValue
Source§impl<'a> Peek<'a> for FieldSizingStyleValue
impl<'a> Peek<'a> for FieldSizingStyleValue
Source§impl ToCursors for FieldSizingStyleValue
impl ToCursors for FieldSizingStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for FieldSizingStyleValue
impl StructuralPartialEq for FieldSizingStyleValue
Auto Trait Implementations§
impl Freeze for FieldSizingStyleValue
impl RefUnwindSafe for FieldSizingStyleValue
impl Send for FieldSizingStyleValue
impl Sync for FieldSizingStyleValue
impl Unpin for FieldSizingStyleValue
impl UnwindSafe for FieldSizingStyleValue
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