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>
[src]

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>
[src]

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

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more