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]

Loading content...

Implementations on Foreign Types

impl FromGenerics for ()[src]

impl FromGenerics for Generics[src]

Loading content...

Implementors

Loading content...