Enum glass::ast::ASTLiteral
[−]
[src]
pub enum ASTLiteral { String(String), Number(i32), Name(String), Comment(String), Null(), }
Variants
String(String)
Number(i32)
Name(String)
Comment(String)
Null()
Trait Implementations
impl Debug for ASTLiteral
[src]
impl Clone for ASTLiteral
[src]
fn clone(&self) -> ASTLiteral
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ASTLiteral
[src]
fn eq(&self, __arg_0: &ASTLiteral) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ASTLiteral) -> bool
[src]
This method tests for !=
.
impl From<Token> for ASTLiteral
[src]
fn from(token_val: Token) -> ASTLiteral
[src]
Performs the conversion.
impl PartialEq<&'static str> for ASTLiteral
[src]
fn eq(&self, rhs: &&'static str) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.