Enum syntex_syntax::feature_gate::GatedCfgAttr [] [src]

pub enum GatedCfgAttr {
    GatedCfg(GatedCfg),
    GatedAttr(Span),
}

Variants

GatedCfg
GatedAttr

Methods

impl GatedCfgAttr

fn check_and_emit(&self, diagnostic: &SpanHandler, features: &Features)

Trait Implementations

impl Ord for GatedCfgAttr

fn cmp(&self, other: &GatedCfgAttr) -> Ordering

impl PartialOrd for GatedCfgAttr

fn partial_cmp(&self, other: &GatedCfgAttr) -> Option<Ordering>

fn lt(&self, other: &Rhs) -> bool

fn le(&self, other: &Rhs) -> bool

fn gt(&self, other: &Rhs) -> bool

fn ge(&self, other: &Rhs) -> bool

Derived Implementations

impl PartialEq for GatedCfgAttr

fn eq(&self, __arg_0: &GatedCfgAttr) -> bool

fn ne(&self, __arg_0: &GatedCfgAttr) -> bool

impl Eq for GatedCfgAttr

impl Debug for GatedCfgAttr

fn fmt(&self, __arg_0: &mut Formatter) -> Result