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 |
pub struct LifetimeBounds<'a> {
pub lifetimes: Vec<&'a str>,
pub bounds: Vec<(&'a str, Sized, Vec<Path<'a>>)>,
}Lifetimes and bounds on type parameters
lifetimes | |
bounds |
impl<'a> LifetimeBounds<'a>fn empty() -> LifetimeBounds<'static>fn to_generics(&self, cx: &ExtCtxt, span: Span, self_ty: Ident, self_generics: &Generics) -> Generics
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).