Struct rustc_middle::middle::stability::DeprecationEntry [−][src]
pub struct DeprecationEntry {
pub attr: Deprecation,
origin: Option<HirId>,
}Expand description
An entry in the depr_map.
Fields
attr: DeprecationThe metadata of the attribute associated with this entry.
origin: Option<HirId>The DefId where the attr was originally attached. None for non-local
DefId’s.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DeprecationEntryimpl Send for DeprecationEntryimpl Sync for DeprecationEntryimpl Unpin for DeprecationEntryimpl UnwindSafe for DeprecationEntryBlanket 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: 24 bytes