Struct syntax::ast::LifetimeUnstable [-] [+] [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 Debug for Lifetime

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

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, Error>

impl Encodable for Lifetime

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

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)