Trait rustc_trans::trans::cleanup::CleanupExperimental [-]  [+] [src]

pub trait Cleanup<'tcx> {
    fn must_unwind(&self) -> bool;
    fn clean_on_unwind(&self) -> bool;
    fn is_lifetime_end(&self) -> bool;
    fn trans<'blk>(&self, bcx: Block<'blk, 'tcx>, debug_loc: Option<NodeInfo>) -> Block<'blk, 'tcx>;
}

Required Methods

fn must_unwind(&self) -> bool

fn clean_on_unwind(&self) -> bool

fn is_lifetime_end(&self) -> bool

fn trans<'blk>(&self, bcx: Block<'blk, 'tcx>, debug_loc: Option<NodeInfo>) -> Block<'blk, 'tcx>

Implementors