Struct syntex_syntax::feature_gate::GatedCfg
[−]
[src]
pub struct GatedCfg {
// some fields omitted
}Methods
impl GatedCfg[src]
fn gate(cfg: &MetaItem) -> Option<GatedCfg>
fn check_and_emit(&self, sess: &ParseSess, features: &Features)
Trait Implementations
impl PartialEq for GatedCfg[src]
fn eq(&self, __arg_0: &GatedCfg) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &GatedCfg) -> bool
This method tests for !=.