Struct rustc_mir_build::build::scope::Unwind
source · struct Unwind;
Trait Implementations§
source§impl<'tcx> DropTreeBuilder<'tcx> for Unwind
impl<'tcx> DropTreeBuilder<'tcx> for Unwind
source§fn make_block(cfg: &mut CFG<'tcx>) -> BasicBlock
fn make_block(cfg: &mut CFG<'tcx>) -> BasicBlock
Create a new block for the tree. This should call either
cfg.start_new_block()
or cfg.start_new_cleanup_block()
.source§fn add_entry(cfg: &mut CFG<'tcx>, from: BasicBlock, to: BasicBlock)
fn add_entry(cfg: &mut CFG<'tcx>, from: BasicBlock, to: BasicBlock)
Links a block outside the drop tree,
from
, to the block to
inside
the drop tree.Auto Trait Implementations§
impl RefUnwindSafe for Unwind
impl Send for Unwind
impl Sync for Unwind
impl Unpin for Unwind
impl UnwindSafe for Unwind
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: 0 bytes