Struct rustc_mir_build::build::scope::DropData
source · struct DropData {
source_info: SourceInfo,
local: Local,
kind: DropKind,
}
Fields
source_info: SourceInfo
The Span
where drop obligation was incurred (typically where place was
declared)
local: Local
local to drop
kind: DropKind
Whether this is a value Drop or a StorageDead.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DropData
impl !Send for DropData
impl !Sync for DropData
impl Unpin for DropData
impl UnwindSafe for DropData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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