Enum syntax::feature_gate::GateStrength  [−][src]
pub enum GateStrength {
    Hard,
    Soft,
}Variants
HardA hard error. (Most feature gates should use this.)
SoftOnly a warning. (Use this only as backwards-compatibility demands.)
Trait Implementations
impl Debug for GateStrength[src] 
impl Debug for GateStrengthfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for GateStrength[src] 
impl Copy for GateStrengthimpl Clone for GateStrength[src] 
impl Clone for GateStrengthfn clone(&self) -> GateStrength[src] 
fn clone(&self) -> GateStrengthReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for GateStrength[src] 
impl PartialEq for GateStrengthAuto Trait Implementations
impl Send for GateStrength
impl Send for GateStrengthimpl Sync for GateStrength
impl Sync for GateStrength