Struct syn::Generics [] [src]

pub struct Generics {
    pub lifetimes: Vec<LifetimeDef>,
    pub ty_params: Vec<TyParam>,
    pub where_clause: Vec<WherePredicate>,


Trait Implementations

impl ToTokens for Generics

impl Debug for Generics

Formats the value using the given formatter.

impl Clone for Generics

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Generics

impl PartialEq for Generics

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Generics

Returns the "default value" for a type. Read more