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
UngatedUngated attribute, can be used on all release channels
Trait Implementations
impl Debug for AttributeGate[src]
impl Debug for AttributeGateAuto Trait Implementations
impl Send for AttributeGate
impl Send for AttributeGateimpl Sync for AttributeGate
impl Sync for AttributeGate