pub enum TokenValue {
Show 14 variants
String(String),
Number(f32),
Bool(i32),
Definition(DefinitionType),
Directive(DirectiveType),
Setter(String),
Identifier(IdentifierType),
Comment,
Inherits,
StartBlock,
EndBlock,
StartArgList,
EndArgList,
ArgListDeliminator,
}
Variants§
String(String)
Number(f32)
Bool(i32)
Definition(DefinitionType)
Directive(DirectiveType)
Setter(String)
Identifier(IdentifierType)
Comment
Inherits
StartBlock
EndBlock
StartArgList
EndArgList
ArgListDeliminator
Trait Implementations§
Source§impl Clone for TokenValue
impl Clone for TokenValue
Source§fn clone(&self) -> TokenValue
fn clone(&self) -> TokenValue
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 moreAuto Trait Implementations§
impl Freeze for TokenValue
impl RefUnwindSafe for TokenValue
impl Send for TokenValue
impl Sync for TokenValue
impl Unpin for TokenValue
impl UnwindSafe for TokenValue
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