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 moresourcefn add_entry(cfg: &mut CFG<'tcx>, from: BasicBlock, to: BasicBlock)
fn add_entry(cfg: &mut CFG<'tcx>, from: BasicBlock, to: BasicBlock)
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
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