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