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.
pub trait FromGenerics: Sized { fn from_generics(generics: &Generics) -> Result<Self>; }
Creates an instance by parsing an entire generics declaration, including the
where
clause.
fn from_generics(generics: &Generics) -> Result<Self>
[src]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]impl FromGenerics for Ignored
[src]fn from_generics(_: &Generics) -> Result<Self>
[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]fn from_generics(value: &Generics) -> Result<Self>
[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]fn from_generics(generics: &Generics) -> Result<Self>
[src]