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