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
BeforeCFG
We have not started dumping the control flow graph, but we are about to.
AfterCFG
We just finished dumping the control flow graph. This is right before EOF
BeforeBlock(BasicBlock)
We are about to start dumping the given basic block.
BeforeLocation(Location)
We are just about to dump the given statement or terminator.
AfterLocation(Location)
We just dumped the given statement or terminator.
AfterTerminator(BasicBlock)
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
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
sourceimpl<T, R> InternIteratorElement<T, R> for T
impl<T, R> InternIteratorElement<T, R> for T
type Output = R
fn intern_with<I, F>(iter: I, f: F) -> <T as InternIteratorElement<T, R>>::Outputwhere
I: Iterator<Item = T>,
F: FnOnce(&[T]) -> R,
sourceimpl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
sourceimpl<CTX, T> Value<CTX> for Twhere
CTX: DepContext,
impl<CTX, T> Value<CTX> for Twhere
CTX: DepContext,
default fn from_cycle_error(tcx: CTX) -> T
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: 24 bytes
Size for each variant:
BeforeCFG
: 0 bytesAfterCFG
: 0 bytesBeforeBlock
: 4 bytesBeforeLocation
: 20 bytesAfterLocation
: 20 bytesAfterTerminator
: 4 bytes