Struct syntax::ast::LifetimeExperimental [-]  [+] [src]

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

Fields

id
span
name

Trait Implementations

Derived Implementations

impl Copy for Lifetime

impl Show for Lifetime

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

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

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

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

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

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

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

impl Eq for Lifetime

fn assert_receiver_is_total_eq(&self)

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)