Trait darling::FromTypeParam[][src]

pub trait FromTypeParam {
    pub fn from_type_param(type_param: &TypeParam) -> Result<Self, Error>;
}

Creates an instance by parsing an individual type_param and its attributes.

Required methods

pub fn from_type_param(type_param: &TypeParam) -> Result<Self, Error>[src]

Loading content...

Implementations on Foreign Types

impl FromTypeParam for Ident[src]

impl FromTypeParam for ()[src]

impl FromTypeParam for TypeParam[src]

impl FromTypeParam for Vec<Attribute, Global>[src]

Loading content...

Implementors

Loading content...