Trait darling_core::FromGenericParam[][src]

pub trait FromGenericParam: Sized {
    fn from_generic_param(param: &GenericParam) -> Result<Self>;
}

Creates an instance by parsing a specific syn::GenericParam. This can be a type param, a lifetime, or a const param.

Required methods

Loading content...

Implementations on Foreign Types

impl FromGenericParam for ()[src]

impl FromGenericParam for GenericParam[src]

Loading content...

Implementors

Loading content...