Enum 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
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AttributeGateimpl Send for AttributeGateimpl Sync for AttributeGateimpl Unpin for AttributeGateimpl UnwindSafe for AttributeGateBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes