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

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

Lifetimes and bounds on type parameters

Fields

lifetimes
bounds

Methods

impl<'a> LifetimeBounds<'a>

fn empty() -> LifetimeBounds<'static>

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