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