Enum gtk_ui::lexer::TokenValue
source · 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
sourceimpl Clone for TokenValue
impl Clone for TokenValue
sourcefn clone(&self) -> TokenValue
fn clone(&self) -> TokenValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for TokenValue
impl Send for TokenValue
impl Sync for TokenValue
impl Unpin for TokenValue
impl UnwindSafe for TokenValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more