Trait darling::FromTypeParam
[−]
[src]
pub trait FromTypeParam { fn from_type_param(type_param: &TypeParam) -> Result<Self, Error>; }
Creates an instance by parsing an individual type_param and its attributes.
Required Methods
fn from_type_param(type_param: &TypeParam) -> Result<Self, Error>
Implementations on Foreign Types
impl FromTypeParam for Vec<Attribute>
[src]
impl FromTypeParam for ()
[src]
impl FromTypeParam for TypeParam
[src]
impl FromTypeParam for Ident
[src]
Implementors
impl<T> FromTypeParam for GenericParam<T, LifetimeDef, ConstParam> where
T: FromTypeParam,impl FromTypeParam for Ignored
impl<T> FromTypeParam for WithOriginal<T, TypeParam> where
T: FromTypeParam,