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

pub enum GateStrength {
    Hard,
    Soft,
}

Variants

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

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

Trait Implementations

impl Debug for GateStrength
[src]

Formats the value using the given formatter. Read more

impl Copy for GateStrength
[src]

impl Clone for GateStrength
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for GateStrength
[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 GateStrength
[src]

Auto Trait Implementations