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>
[src]
Implementations on Foreign Types
impl FromGenerics for ()
[src]
impl FromGenerics for ()
[src]fn from_generics(_generics: &Generics) -> Result<Self>
[src]
impl FromGenerics for Generics
[src]
impl FromGenerics for Generics
[src]fn from_generics(generics: &Generics) -> Result<Self>
[src]
Implementors
impl FromGenerics for Ignored
[src]
impl FromGenerics for Ignored
[src]fn from_generics(_: &Generics) -> Result<Self>
[src]
impl<P: FromGenericParam> FromGenerics for darling_core::ast::Generics<P>
[src]
impl<P: FromGenericParam> FromGenerics for darling_core::ast::Generics<P>
[src]fn from_generics(generics: &Generics) -> Result<Self>
[src]
impl<T: FromGenerics> FromGenerics for SpannedValue<T>
[src]
impl<T: FromGenerics> FromGenerics for SpannedValue<T>
[src]fn from_generics(value: &Generics) -> Result<Self>
[src]
impl<T: FromGenerics> FromGenerics for WithOriginal<T, Generics>
[src]
impl<T: FromGenerics> FromGenerics for WithOriginal<T, Generics>
[src]fn from_generics(value: &Generics) -> Result<Self>
[src]
impl<T: FromGenerics> FromGenerics for Result<T>
[src]
impl<T: FromGenerics> FromGenerics for Result<T>
[src]