Enum syn::TraitBoundModifier [] [src]

pub enum TraitBoundModifier {
    None,
    Maybe,
}

A modifier on a bound, currently this is only used for ?Sized, where the modifier is Maybe. Negative bounds should also be handled here.

Variants

Trait Implementations

impl Debug for TraitBoundModifier
[src]

Formats the value using the given formatter.

impl Copy for TraitBoundModifier
[src]

impl Clone for TraitBoundModifier
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for TraitBoundModifier
[src]

impl PartialEq for TraitBoundModifier
[src]

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

This method tests for !=.

impl Hash for TraitBoundModifier
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more