Struct syntex_syntax::ext::deriving::generic::ty::LifetimeBounds [] [src]

pub struct LifetimeBounds<'a> {
    pub lifetimes: Vec<(&'a str, Vec<&'a str>)>,
    pub bounds: Vec<(&'a str, Vec<Path<'a>>)>,
}

Lifetimes and bounds on type parameters

Fields

lifetimes
bounds

Methods

impl<'a> LifetimeBounds<'a>

fn empty() -> LifetimeBounds<'a>

fn to_generics(&self, cx: &ExtCtxt, span: Span, self_ty: Ident, self_generics: &Generics) -> Generics

Trait Implementations

Derived Implementations

impl<'a> Clone for LifetimeBounds<'a>

fn clone(&self) -> LifetimeBounds<'a>

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