Enum rustc::hir::UnsafeGeneric
[−]
[src]
pub enum UnsafeGeneric {
Region(LifetimeDef, &'static str),
Type(TyParam, &'static str),
}🔬 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
Region(LifetimeDef, &'static str)🔬 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?
Type(TyParam, &'static str)🔬 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?
Methods
impl UnsafeGeneric[src]
impl UnsafeGenericpub fn attr_name(&self) -> &'static str[src]
pub fn attr_name(&self) -> &'static str🔬 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
Auto Trait Implementations
impl !Send for UnsafeGeneric
impl !Send for UnsafeGenericimpl !Sync for UnsafeGeneric
impl !Sync for UnsafeGeneric