Enum syntax::feature_gate::AttributeGate [−][src]
pub enum AttributeGate { Gated(Stability, &'static str, &'static str, fn(_: &Features) -> bool), Ungated, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Variants
Gated(Stability, &'static str, &'static str, fn(_: &Features) -> bool)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Is gated by a given feature gate, reason and function to check if enabled
Ungated
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Ungated attribute, can be used on all release channels
Methods
impl AttributeGate
[src]
impl AttributeGate
fn is_deprecated(&self) -> bool
[src]
fn is_deprecated(&self) -> bool
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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