Struct rustc::middle::stability::DeprecationEntry
[−]
[src]
pub struct DeprecationEntry { pub attr: Deprecation, // some fields omitted }
🔬 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?
An entry in the depr_map
.
Fields
attr: Deprecation
🔬 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?
The metadata of the attribute associated with this entry.
Methods
impl DeprecationEntry
[src]
impl DeprecationEntry
pub fn external(attr: Deprecation) -> DeprecationEntry
[src]
pub fn external(attr: Deprecation) -> DeprecationEntry
🔬 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?
pub fn same_origin(&self, other: &DeprecationEntry) -> bool
[src]
pub fn same_origin(&self, other: &DeprecationEntry) -> 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 Clone for DeprecationEntry
[src]
impl Clone for DeprecationEntry
fn clone(&self) -> DeprecationEntry
[src]
fn clone(&self) -> DeprecationEntry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for DeprecationEntry
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for DeprecationEntry
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
🔬 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?
Auto Trait Implementations
impl !Send for DeprecationEntry
impl !Send for DeprecationEntry
impl !Sync for DeprecationEntry
impl !Sync for DeprecationEntry