Enum syntex_syntax::ast::Lit_
[−]
[src]
pub enum Lit_ { LitStr(InternedString, StrStyle), LitByteStr(Rc<Vec<u8>>), LitByte(u8), LitChar(char), LitInt(u64, LitIntType), LitFloat(InternedString, FloatTy), LitFloatUnsuffixed(InternedString), LitBool(bool), }
Variants
LitStr | A string literal ( | |
LitByteStr | A byte string ( | |
LitByte | A byte char ( | |
LitChar | A character literal ( | |
LitInt | An integer literal ( | |
LitFloat | A float literal ( | |
LitFloatUnsuffixed | A float literal without a suffix ( | |
LitBool | A boolean literal |
Trait Implementations
Derived Implementations
impl Debug for Lit_
[src]
impl Hash for Lit_
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Decodable for Lit_
[src]
impl Encodable for Lit_
[src]
impl Eq for Lit_
[src]
impl PartialEq for Lit_
[src]
fn eq(&self, __arg_0: &Lit_) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Lit_) -> bool
This method tests for !=
.
impl Clone for Lit_
[src]
fn clone(&self) -> Lit_
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more