Enum syn::TyParamBound [] [src]

pub enum TyParamBound {
    MaybeSized,
    Region(Lifetime),
    Trait(PolyTraitRef),
}

Variants

Trait Implementations

impl ToTokens for TyParamBound
[src]

impl Debug for TyParamBound
[src]

Formats the value using the given formatter.

impl Clone for TyParamBound
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for TyParamBound
[src]

impl PartialEq for TyParamBound
[src]

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

This method tests for !=.