Struct syn::PredicateLifetime [−][src]
pub struct PredicateLifetime { pub lifetime: Lifetime, pub colon_token: Colon, pub bounds: Punctuated<Lifetime, Add>, }
This is supported on crate features
full
or derive
only.A lifetime predicate in a where
clause: 'a: 'b + 'c
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
lifetime: Lifetime
colon_token: Colon
bounds: Punctuated<Lifetime, Add>
Trait Implementations
impl Clone for PredicateLifetime
[src]
impl Clone for PredicateLifetime
[src]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PredicateLifetime
[src]
impl Debug for PredicateLifetime
[src]This is supported on crate feature
extra-traits
only.impl Eq for PredicateLifetime
[src]
impl Eq for PredicateLifetime
[src]This is supported on crate feature
extra-traits
only.impl From<PredicateLifetime> for WherePredicate
[src]
impl From<PredicateLifetime> for WherePredicate
[src]fn from(e: PredicateLifetime) -> WherePredicate
[src]
impl Hash for PredicateLifetime
[src]
impl Hash for PredicateLifetime
[src]This is supported on crate feature
extra-traits
only.impl PartialEq<PredicateLifetime> for PredicateLifetime
[src]
impl PartialEq<PredicateLifetime> for PredicateLifetime
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for PredicateLifetime
[src]
impl ToTokens for PredicateLifetime
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for PredicateLifetime
impl RefUnwindSafe for PredicateLifetime
impl !Send for PredicateLifetime
impl !Send for PredicateLifetime
impl !Sync for PredicateLifetime
impl !Sync for PredicateLifetime
impl Unpin for PredicateLifetime
impl Unpin for PredicateLifetime
impl UnwindSafe for PredicateLifetime
impl UnwindSafe for PredicateLifetime