Enum syntax::feature_gate::GateStrength [] [src]

pub enum GateStrength {
    Hard,
    Soft,
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Variants

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

A hard error. (Most feature gates should use this.)

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Only a warning. (Use this only as backwards-compatibility demands.)

Trait Implementations

impl Debug for GateStrength
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for GateStrength
[src]

impl Clone for GateStrength
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for GateStrength
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for GateStrength
[src]