Struct rustc_mir_build::build::scope::GeneratorDrop
source · [−]struct GeneratorDrop;Trait Implementations
sourceimpl<'tcx> DropTreeBuilder<'tcx> for GeneratorDrop
impl<'tcx> DropTreeBuilder<'tcx> for GeneratorDrop
sourcefn 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(). Read more
sourcefn 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. Read more
Auto Trait Implementations
impl RefUnwindSafe for GeneratorDrop
impl Send for GeneratorDrop
impl Sync for GeneratorDrop
impl Unpin for GeneratorDrop
impl UnwindSafe for GeneratorDrop
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
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: 0 bytes