Struct darling::ast::Generics [−][src]
pub struct Generics<P, W = WhereClause> {
pub params: Vec<P, Global>,
pub where_clause: Option<W>,
}
Expand description
A mirror of the syn::Generics
type which can contain arbitrary representations
of params and where clauses.
Fields
params: Vec<P, Global>
where_clause: Option<W>
Implementations
Trait Implementations
Auto Trait Implementations
impl<P, W> RefUnwindSafe for Generics<P, W> where
P: RefUnwindSafe,
W: RefUnwindSafe,
impl<P, W> UnwindSafe for Generics<P, W> where
P: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more