Struct syntex_syntax::feature_gate::GatedCfg [] [src]

pub struct GatedCfg {
    // some fields omitted
}

Methods

impl GatedCfg
[src]

fn gate(cfg: &MetaItem) -> Option<GatedCfg>

Trait Implementations

Derived 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 !=.

impl Eq for GatedCfg
[src]

impl Debug for GatedCfg
[src]

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

Formats the value using the given formatter.