Struct syn::TypeTraitObject [−][src]
pub struct TypeTraitObject { pub dyn_token: Option<Dyn>, pub bounds: Punctuated<TypeParamBound, Add>, }
A trait object type Bound1 + Bound2 + Bound3
where Bound
is a
trait or a lifetime.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
dyn_token: Option<Dyn>
bounds: Punctuated<TypeParamBound, Add>
Implementations
impl TypeTraitObject
[src]
impl TypeTraitObject
[src]pub fn without_plus(input: ParseStream<'_>) -> Result<Self>
[src]
Trait Implementations
impl Clone for TypeTraitObject
[src]
impl Clone for TypeTraitObject
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<TypeTraitObject> for Type
[src]
impl From<TypeTraitObject> for Type
[src]fn from(e: TypeTraitObject) -> Type
[src]
impl Hash for TypeTraitObject
[src]
impl Hash for TypeTraitObject
[src]impl Parse for TypeTraitObject
[src]
impl Parse for TypeTraitObject
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<TypeTraitObject> for TypeTraitObject
[src]
impl PartialEq<TypeTraitObject> for TypeTraitObject
[src]impl ToTokens for TypeTraitObject
[src]
impl ToTokens for TypeTraitObject
[src]