Enum syntax::feature_gate::AttributeGate [−][src]
pub enum AttributeGate { Gated(Stability, &'static str, &'static str, fn(_: &Features) -> bool), Ungated, }
Variants
Gated(Stability, &'static str, &'static str, fn(_: &Features) -> bool)
Is gated by a given feature gate, reason and function to check if enabled
Ungated
Ungated attribute, can be used on all release channels
Trait Implementations
impl Debug for AttributeGate
[src]
impl Debug for AttributeGate
Auto Trait Implementations
impl Send for AttributeGate
impl Send for AttributeGate
impl Sync for AttributeGate
impl Sync for AttributeGate