Trait darling::FromTypeParam[][src]

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

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

Required methods

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

Implementations on Foreign Types

impl FromTypeParam for TypeParam[src]

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

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

impl FromTypeParam for ()[src]

impl FromTypeParam for Ident[src]

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

Implementors