Struct rustc_mir_build::build::scope::GeneratorDrop [−][src]
struct GeneratorDrop;
Trait Implementations
impl<'tcx> DropTreeBuilder<'tcx> for GeneratorDrop[src]
impl<'tcx> DropTreeBuilder<'tcx> for GeneratorDrop[src]fn make_block(cfg: &mut CFG<'tcx>) -> BasicBlock[src]
fn make_block(cfg: &mut CFG<'tcx>) -> BasicBlock[src]Create a new block for the tree. This should call either
cfg.start_new_block() or cfg.start_new_cleanup_block(). Read more
fn add_entry(cfg: &mut CFG<'tcx>, from: BasicBlock, to: BasicBlock)[src]
fn add_entry(cfg: &mut CFG<'tcx>, from: BasicBlock, to: BasicBlock)[src]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
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<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,