Struct syn::TypeImplTrait
source · [−]pub struct TypeImplTrait {
pub impl_token: Impl,
pub bounds: Punctuated<TypeParamBound, Add>,
}This is supported on crate features
full or derive only.Expand description
An impl Bound1 + Bound2 + Bound3 type where Bound is a trait or
a lifetime.
This type is available only if Syn is built with the "derive" or
"full" feature.
Fields
impl_token: Implbounds: Punctuated<TypeParamBound, Add>Implementations
This is supported on crate feature
parsing only.Trait Implementations
Performs the conversion.
impl PartialEq<TypeImplTrait> for TypeImplTrait
This is supported on crate feature extra-traits only.
impl PartialEq<TypeImplTrait> for TypeImplTrait
This is supported on crate feature
extra-traits only.Auto Trait Implementations
impl RefUnwindSafe for TypeImplTrait
impl !Send for TypeImplTrait
impl !Sync for TypeImplTrait
impl Unpin for TypeImplTrait
impl UnwindSafe for TypeImplTrait
Blanket Implementations
Mutably borrows from an owned value. Read more