Struct 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>>)>, }
🔬 This is a nightly-only experimental API. (
rustc_private
)Lifetimes and bounds on type parameters
Fields
lifetimes: Vec<(&'a str, Vec<&'a str>)>
🔬 This is a nightly-only experimental API. (
rustc_private
)bounds: Vec<(&'a str, Vec<Path<'a>>)>
🔬 This is a nightly-only experimental API. (
rustc_private
)Methods
impl<'a> LifetimeBounds<'a>
[src]
fn empty() -> LifetimeBounds<'a>
🔬 This is a nightly-only experimental API. (
rustc_private
)fn to_generics(&self,
cx: &ExtCtxt,
span: Span,
self_ty: Ident,
self_generics: &Generics)
-> Generics
cx: &ExtCtxt,
span: Span,
self_ty: Ident,
self_generics: &Generics)
-> Generics
🔬 This is a nightly-only experimental API. (
rustc_private
)Trait 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