pub enum FeatureTagToggle {
On(Ident),
Off(Ident),
Integer(NonNegative<CSSInt>),
}Expand description
The optional value for a feature tag: <integer [0,∞]> | on | off
Variants§
Trait Implementations§
Source§impl Clone for FeatureTagToggle
impl Clone for FeatureTagToggle
Source§fn clone(&self) -> FeatureTagToggle
fn clone(&self) -> FeatureTagToggle
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 FeatureTagToggle
impl Debug for FeatureTagToggle
Source§impl From<FeatureTagToggle> for Cursor
impl From<FeatureTagToggle> for Cursor
Source§fn from(value: FeatureTagToggle) -> Cursor
fn from(value: FeatureTagToggle) -> Cursor
Converts to this type from the input type.
Source§impl From<FeatureTagToggle> for Token
impl From<FeatureTagToggle> for Token
Source§fn from(value: FeatureTagToggle) -> Token
fn from(value: FeatureTagToggle) -> Token
Converts to this type from the input type.
Source§impl Hash for FeatureTagToggle
impl Hash for FeatureTagToggle
Source§impl Ord for FeatureTagToggle
impl Ord for FeatureTagToggle
Source§fn cmp(&self, other: &FeatureTagToggle) -> Ordering
fn cmp(&self, other: &FeatureTagToggle) -> 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 FeatureTagToggle
impl<'a> Parse<'a> for FeatureTagToggle
Source§impl PartialEq for FeatureTagToggle
impl PartialEq for FeatureTagToggle
Source§impl PartialOrd for FeatureTagToggle
impl PartialOrd for FeatureTagToggle
Source§impl<'a> Peek<'a> for FeatureTagToggle
impl<'a> Peek<'a> for FeatureTagToggle
Source§impl SemanticEq for FeatureTagToggle
impl SemanticEq for FeatureTagToggle
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for FeatureTagToggle
impl ToCursors for FeatureTagToggle
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for FeatureTagToggle
impl Eq for FeatureTagToggle
impl StructuralPartialEq for FeatureTagToggle
Auto Trait Implementations§
impl Freeze for FeatureTagToggle
impl RefUnwindSafe for FeatureTagToggle
impl Send for FeatureTagToggle
impl Sync for FeatureTagToggle
impl Unpin for FeatureTagToggle
impl UnsafeUnpin for FeatureTagToggle
impl UnwindSafe for FeatureTagToggle
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