pub enum ComponentValue<'a> {
Show 14 variants
SimpleBlock(SimpleBlock<'a>),
Function(FunctionBlock<'a>),
Whitespace(Whitespace),
Number(Number),
Dimension(Dimension),
Ident(Ident),
AtKeyword(AtKeyword),
Hash(Hash),
String(String),
Url(Url),
Delim(Delim),
Colon(Colon),
Semicolon(Semicolon),
Comma(Comma),
}
Variants§
SimpleBlock(SimpleBlock<'a>)
Function(FunctionBlock<'a>)
Whitespace(Whitespace)
Number(Number)
Dimension(Dimension)
Ident(Ident)
AtKeyword(AtKeyword)
Hash(Hash)
String(String)
Url(Url)
Delim(Delim)
Colon(Colon)
Semicolon(Semicolon)
Comma(Comma)
Trait Implementations§
Source§impl<'a> Clone for ComponentValue<'a>
impl<'a> Clone for ComponentValue<'a>
Source§fn clone(&self) -> ComponentValue<'a>
fn clone(&self) -> ComponentValue<'a>
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<'a> Debug for ComponentValue<'a>
impl<'a> Debug for ComponentValue<'a>
Source§impl<'a> Hash for ComponentValue<'a>
impl<'a> Hash for ComponentValue<'a>
Source§impl<'a> Ord for ComponentValue<'a>
impl<'a> Ord for ComponentValue<'a>
Source§fn cmp(&self, other: &ComponentValue<'a>) -> Ordering
fn cmp(&self, other: &ComponentValue<'a>) -> 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 ComponentValue<'a>
impl<'a> Parse<'a> for ComponentValue<'a>
Source§impl<'a> PartialEq for ComponentValue<'a>
impl<'a> PartialEq for ComponentValue<'a>
Source§impl<'a> PartialOrd for ComponentValue<'a>
impl<'a> PartialOrd for ComponentValue<'a>
Source§impl<'a> Peek<'a> for ComponentValue<'a>
impl<'a> Peek<'a> for ComponentValue<'a>
Source§impl<'a> ToCursors for ComponentValue<'a>
impl<'a> ToCursors for ComponentValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for ComponentValue<'a>
impl<'a> StructuralPartialEq for ComponentValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComponentValue<'a>
impl<'a> !RefUnwindSafe for ComponentValue<'a>
impl<'a> !Send for ComponentValue<'a>
impl<'a> !Sync for ComponentValue<'a>
impl<'a> Unpin for ComponentValue<'a>
impl<'a> !UnwindSafe for ComponentValue<'a>
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