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.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
impl Clone for TypeImplTrait
[src]
impl Clone for TypeImplTrait
[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 TypeImplTrait
[src]
impl Debug for TypeImplTrait
[src]This is supported on crate feature
extra-traits
only.impl Eq for TypeImplTrait
[src]
impl Eq for TypeImplTrait
[src]This is supported on crate feature
extra-traits
only.impl From<TypeImplTrait> for Type
[src]
impl From<TypeImplTrait> for Type
[src]fn from(e: TypeImplTrait) -> Type
[src]
impl Hash for TypeImplTrait
[src]
impl Hash for TypeImplTrait
[src]This is supported on crate feature
extra-traits
only.impl Parse for TypeImplTrait
[src]
impl Parse for TypeImplTrait
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<TypeImplTrait> for TypeImplTrait
[src]
impl PartialEq<TypeImplTrait> for TypeImplTrait
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for TypeImplTrait
[src]
impl ToTokens for TypeImplTrait
[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 TypeImplTrait
impl RefUnwindSafe for TypeImplTrait
impl !Send for TypeImplTrait
impl !Send for TypeImplTrait
impl !Sync for TypeImplTrait
impl !Sync for TypeImplTrait
impl Unpin for TypeImplTrait
impl Unpin for TypeImplTrait
impl UnwindSafe for TypeImplTrait
impl UnwindSafe for TypeImplTrait