[][src]Trait darling_core::FromGenerics

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>

Loading content...

Implementations on Foreign Types

impl FromGenerics for ()[src]

impl FromGenerics for Generics[src]

Loading content...

Implementors

impl FromGenerics for Ignored[src]

impl<P: FromGenericParam> FromGenerics for darling_core::ast::Generics<P>[src]

impl<T: FromGenerics> FromGenerics for SpannedValue<T>[src]

impl<T: FromGenerics> FromGenerics for WithOriginal<T, Generics>[src]

impl<T: FromGenerics> FromGenerics for Result<T>[src]

Loading content...