Trait darling::FromTypeParam
source · pub trait FromTypeParam: Sized {
// Required method
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>
Object Safety§
This trait is not object safe.