Struct rustc_typeck::middle::stability::DeprecationEntry [−][src]
pub struct DeprecationEntry {
pub attr: Deprecation,
origin: Option<LocalDefId>,
}Expand description
An entry in the depr_map.
Fields
attr: DeprecationThe metadata of the attribute associated with this entry.
origin: Option<LocalDefId>The DefId where the attr was originally attached. None for non-local
DefId’s.
Auto Trait Implementations
impl RefUnwindSafe for DeprecationEntry
impl Send for DeprecationEntry
impl Sync for DeprecationEntry
impl Unpin for DeprecationEntry
impl UnwindSafe for DeprecationEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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: 20 bytes