Struct syn::TypeTraitObject
source · pub struct TypeTraitObject {
pub dyn_token: Option<Dyn>,
pub bounds: Punctuated<TypeParamBound, Plus>,
}
Expand description
A trait object type dyn Bound1 + Bound2 + Bound3
where Bound
is a
trait or a lifetime.
Fields§
§dyn_token: Option<Dyn>
§bounds: Punctuated<TypeParamBound, Plus>
Trait Implementations§
source§impl From<TypeTraitObject> for Type
impl From<TypeTraitObject> for Type
source§fn from(e: TypeTraitObject) -> Type
fn from(e: TypeTraitObject) -> Type
Converts to this type from the input type.