Enum syntax::ast::Lit_Experimental [-]  [+] [src]

pub enum Lit_ {
    LitStr(InternedString, StrStyle),
    LitBinary(Rc<Vec<u8>>),
    LitByte(u8),
    LitChar(char),
    LitInt(u64, LitIntType),
    LitFloat(InternedString, FloatTy),
    LitFloatUnsuffixed(InternedString),
    LitBool(bool),
}

Variants

LitStr
LitBinary
LitByte
LitChar
LitInt
LitFloat
LitFloatUnsuffixed
LitBool

Trait Implementations

Derived Implementations

impl Show for Lit_

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<__S: Writer> Hash<__S> for Lit_

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Lit_

fn decode(__arg_0: &mut __D) -> Result<Lit_, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Lit_

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Eq for Lit_

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Lit_

fn eq(&self, __arg_0: &Lit_) -> bool

fn ne(&self, __arg_0: &Lit_) -> bool

impl Clone for Lit_

fn clone(&self) -> Lit_

fn clone_from(&mut self, source: &Self)