Enum syn::TypeParamBound [−][src]
pub enum TypeParamBound {
Trait(TraitBound),
Lifetime(Lifetime),
}Expand description
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
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TypeParamBoundimpl !Send for TypeParamBoundimpl !Sync for TypeParamBoundimpl Unpin for TypeParamBoundimpl UnwindSafe for TypeParamBoundBlanket Implementations
Mutably borrows from an owned value. Read more