[][src]Trait darling::FromTypeParam

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>

Loading content...

Implementations on Foreign Types

impl FromTypeParam for Ident[src]

impl FromTypeParam for Vec<Attribute>[src]

impl FromTypeParam for ()[src]

impl FromTypeParam for TypeParam[src]

Loading content...

Implementors

impl FromTypeParam for Ignored[src]

impl<T> FromTypeParam for GenericParam<T, LifetimeDef, ConstParam> where
    T: FromTypeParam
[src]

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

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

Loading content...