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
fn from_generic_param(param: &GenericParam) -> Result<Self>
[src]
Implementations on Foreign Types
impl FromGenericParam for ()
[src]
impl FromGenericParam for ()
[src]fn from_generic_param(_param: &GenericParam) -> Result<Self>
[src]
impl FromGenericParam for GenericParam
[src]
impl FromGenericParam for GenericParam
[src]fn from_generic_param(param: &GenericParam) -> Result<Self>
[src]
Implementors
impl FromGenericParam for Ignored
[src]
impl FromGenericParam for Ignored
[src]fn from_generic_param(_: &GenericParam) -> Result<Self>
[src]
impl<T: FromGenericParam> FromGenericParam for SpannedValue<T>
[src]
impl<T: FromGenericParam> FromGenericParam for SpannedValue<T>
[src]fn from_generic_param(value: &GenericParam) -> Result<Self>
[src]
impl<T: FromGenericParam> FromGenericParam for WithOriginal<T, GenericParam>
[src]
impl<T: FromGenericParam> FromGenericParam for WithOriginal<T, GenericParam>
[src]fn from_generic_param(value: &GenericParam) -> Result<Self>
[src]
impl<T: FromTypeParam> FromGenericParam for darling_core::ast::GenericParam<T>
[src]
impl<T: FromTypeParam> FromGenericParam for darling_core::ast::GenericParam<T>
[src]