Struct syntax::feature_gate::GatedCfg [−][src]
pub struct GatedCfg { /* fields omitted */ }
Methods
impl GatedCfg
[src]
impl GatedCfg
pub fn gate(cfg: &MetaItem) -> Option<GatedCfg>
[src]
pub fn gate(cfg: &MetaItem) -> Option<GatedCfg>
pub fn check_and_emit(&self, sess: &ParseSess, features: &Features)
[src]
pub fn check_and_emit(&self, sess: &ParseSess, features: &Features)
Trait Implementations
impl Debug for GatedCfg
[src]
impl Debug for GatedCfg
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for GatedCfg
[src]
impl Eq for GatedCfg
impl PartialEq for GatedCfg
[src]
impl PartialEq for GatedCfg