Enum rustc_mir::util::pretty::PassWhere [−][src]
pub enum PassWhere {
BeforeCFG,
AfterCFG,
BeforeBlock(BasicBlock),
BeforeLocation(Location),
AfterLocation(Location),
AfterTerminator(BasicBlock),
}Expand description
An indication of where we are in the control flow graph. Used for printing
extra information in dump_mir
Variants
Expand description
We have not started dumping the control flow graph, but we are about to.
Expand description
We just finished dumping the control flow graph. This is right before EOF
BeforeBlock(BasicBlock)Expand description
We are about to start dumping the given basic block.
BeforeLocation(Location)Expand description
We are just about to dump the given statement or terminator.
AfterLocation(Location)Expand description
We just dumped the given statement or terminator.
AfterTerminator(BasicBlock)Expand description
We just dumped the terminator for a block but not the closing }.
Auto Trait Implementations
impl RefUnwindSafe for PassWhere
impl Send for PassWhere
impl Sync for PassWhere
impl Unpin for PassWhere
impl UnwindSafe for PassWhere
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<T> WithConstness for T[src]
impl<T> WithConstness for T[src]