Enum rustc_ap_rustc_feature::AttributeGate [−][src]
pub enum AttributeGate { Gated(Stability, Symbol, &'static str, fn(_: &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
Auto Trait Implementations
impl RefUnwindSafe for AttributeGate
impl Send for AttributeGate
impl Sync for AttributeGate
impl Unpin for AttributeGate
impl UnwindSafe for AttributeGate
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V