Struct rustc_mir_build::lints::RecursiveDrop
source · struct RecursiveDrop<'tcx> {
drop_for: Ty<'tcx>,
}
Fields§
§drop_for: Ty<'tcx>
The type that Drop
is implemented for.
Trait Implementations§
source§impl<'tcx> TerminatorClassifier<'tcx> for RecursiveDrop<'tcx>
impl<'tcx> TerminatorClassifier<'tcx> for RecursiveDrop<'tcx>
fn is_recursive_terminator( &self, tcx: TyCtxt<'tcx>, body: &Body<'tcx>, terminator: &Terminator<'tcx> ) -> bool
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for RecursiveDrop<'tcx>
impl<'tcx> Send for RecursiveDrop<'tcx>
impl<'tcx> Sync for RecursiveDrop<'tcx>
impl<'tcx> Unpin for RecursiveDrop<'tcx>
impl<'tcx> !UnwindSafe for RecursiveDrop<'tcx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 8 bytes