Struct syntex_syntax::ast::LifetimeDef [] [src]

pub struct LifetimeDef {
    pub lifetime: Lifetime,
    pub bounds: Vec<Lifetime>,
}

A lifetime definition, eg 'a: 'b+'c+'d

Fields

lifetime
bounds

Trait Implementations

Derived Implementations

impl Debug for LifetimeDef

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

impl Hash for LifetimeDef

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

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

impl Decodable for LifetimeDef

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

impl Encodable for LifetimeDef

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

impl Eq for LifetimeDef

impl PartialEq for LifetimeDef

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

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

impl Clone for LifetimeDef

fn clone(&self) -> LifetimeDef

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