Enum rustc::hir::TraitBoundModifier [] [src]

pub enum TraitBoundModifier {
    None,
    Maybe,
}
🔬 This is a nightly-only experimental API. (rustc_private)

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

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

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 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 Eq for TraitBoundModifier
[src]

impl Encodable for TraitBoundModifier
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Decodable for TraitBoundModifier
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Hash for TraitBoundModifier
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for TraitBoundModifier
[src]

Formats the value using the given formatter.