Struct syn::TypeImplTrait [−][src]
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: Impl
bounds: Punctuated<TypeParamBound, Add>
Trait Implementations
This is supported on crate feature
clone-impls
only.This is supported on crate feature
extra-traits
only.Performs the conversion.
This is supported on crate feature
extra-traits
only.This is supported on crate feature
parsing
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
printing
only.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