Enum syn::TypeParamBound [−][src]
pub enum TypeParamBound {
    Trait(TraitBound),
    Lifetime(Lifetime),
}A trait or lifetime used as a bound on a type parameter.
This type is available only if Syn is built with the "derive" or "full"
feature.
Variants
Trait(TraitBound)Lifetime(Lifetime)Trait Implementations
impl Clone for TypeParamBound[src]
impl Clone for TypeParamBound[src]fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl From<Lifetime> for TypeParamBound[src]
impl From<Lifetime> for TypeParamBound[src]fn from(e: Lifetime) -> TypeParamBound[src]
impl From<TraitBound> for TypeParamBound[src]
impl From<TraitBound> for TypeParamBound[src]fn from(e: TraitBound) -> TypeParamBound[src]
impl Hash for TypeParamBound[src]
impl Hash for TypeParamBound[src]impl Parse for TypeParamBound[src]
impl Parse for TypeParamBound[src]fn parse(input: ParseStream<'_>) -> Result<Self>[src]
impl PartialEq<TypeParamBound> for TypeParamBound[src]
impl PartialEq<TypeParamBound> for TypeParamBound[src]impl ToTokens for TypeParamBound[src]
impl ToTokens for TypeParamBound[src]