Enum rustc_mir::util::elaborate_drops::DropFlagMode [−][src]
pub enum DropFlagMode {
Shallow,
Deep,
}Expand description
Which drop flags to affect/check with an operation.
Variants
Expand description
Only affect the top-level drop flag, not that of any contained fields.
Expand description
Affect all nested drop flags in addition to the top-level one.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DropFlagMode
impl Send for DropFlagMode
impl Sync for DropFlagMode
impl Unpin for DropFlagMode
impl UnwindSafe for DropFlagMode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]