[][src]Trait darling_core::FromTypeParam

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>

Loading content...

Implementations on Foreign Types

impl FromTypeParam for ()[src]

impl FromTypeParam for TypeParam[src]

impl FromTypeParam for Vec<Attribute>[src]

impl FromTypeParam for Ident[src]

Loading content...

Implementors

impl FromTypeParam for Ignored[src]

impl<T: FromTypeParam> FromTypeParam for GenericParam<T>[src]

impl<T: FromTypeParam> FromTypeParam for SpannedValue<T>[src]

impl<T: FromTypeParam> FromTypeParam for WithOriginal<T, TypeParam>[src]

Loading content...