Enum syntex_syntax::feature_gate::AttributeGate [] [src]

pub enum AttributeGate {
    Gated(&'static str, &'static str),
    Ungated,
}

Variants

Gated

Is gated by a given feature gate and reason

Ungated

Ungated attribute, can be used on all release channels

Trait Implementations

Derived Implementations

impl Debug for AttributeGate

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

impl Clone for AttributeGate

fn clone(&self) -> AttributeGate

fn clone_from(&mut self, source: &Self)

impl Copy for AttributeGate

impl PartialEq for AttributeGate

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

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