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