Struct rustc_mir_build::build::scope::ExitScopes
source · struct ExitScopes;
Trait Implementations§
source§impl<'tcx> DropTreeBuilder<'tcx> for ExitScopes
impl<'tcx> DropTreeBuilder<'tcx> for ExitScopes
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 ExitScopes
impl Send for ExitScopes
impl Sync for ExitScopes
impl Unpin for ExitScopes
impl UnwindSafe for ExitScopes
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