Struct syntex_syntax::ast::Lifetime [] [src]

pub struct Lifetime {
    pub id: NodeId,
    pub span: Span,
    pub name: Name,
}

Fields

id
span
name

Trait Implementations

impl Debug for Lifetime

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

Derived Implementations

impl Copy for Lifetime

impl Hash for Lifetime

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for Lifetime

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Lifetime, __D::Error>

impl Encodable for Lifetime

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

impl Eq for Lifetime

impl PartialEq for Lifetime

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

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

impl Clone for Lifetime

fn clone(&self) -> Lifetime

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