Trait darling_core::FromGenerics
[−]
[src]
pub trait FromGenerics: Sized { fn from_generics(generics: &Generics) -> Result<Self>; }
Creates an instance by parsing an entire generics declaration, including the
where
clause.
Required Methods
fn from_generics(generics: &Generics) -> Result<Self>
Implementations on Foreign Types
impl FromGenerics for ()
[src]
fn from_generics(_generics: &Generics) -> Result<Self>
[src]
impl FromGenerics for Generics
[src]
fn from_generics(generics: &Generics) -> Result<Self>
[src]
Implementors
impl<P: FromGenericParam> FromGenerics for darling_core::ast::Generics<P>
impl<T: FromGenerics> FromGenerics for Result<T>
impl FromGenerics for Ignored
impl<T: FromGenerics> FromGenerics for WithOriginal<T, Generics>