Enum syntax::feature_gate::GateStrength
[−]
[src]
pub enum GateStrength { Hard, Soft, }
Variants
Hard
A hard error. (Most feature gates should use this.)
Soft
Only a warning. (Use this only as backwards-compatibility demands.)
Trait Implementations
impl Debug for GateStrength
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for GateStrength
[src]
impl Clone for GateStrength
[src]
fn clone(&self) -> GateStrength
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for GateStrength
[src]
fn eq(&self, __arg_0: &GateStrength) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.