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