Enum syntax::feature_gate::AttributeGate[][src]

pub enum AttributeGate {
    Gated(Stability, &'static str, &'static strfn(_: &Features) -> bool),
    Ungated,
}

Variants

Is gated by a given feature gate, reason and function to check if enabled

Ungated attribute, can be used on all release channels

Trait Implementations

impl Debug for AttributeGate
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations