Trait darling::FromGenerics
source · pub trait FromGenerics: Sized {
// Required method
fn from_generics(generics: &Generics) -> Result<Self, Error>;
}Expand description
Creates an instance by parsing an entire generics declaration, including the
where clause.
Required Methods§
fn from_generics(generics: &Generics) -> Result<Self, Error>
Object Safety§
This trait is not object safe.