[][src]Enum rustc_ap_rustc_session::config::MirSpanview

pub enum MirSpanview {
    Statement,
    Terminator,
    Block,
}

The different settings that the -Z dump_mir_spanview flag can have. Statement generates a document highlighting each span of every statement (including terminators). Terminator and Block highlight a single span per BasicBlock: the span of the block's Terminator, or a computed span for the block, representing the entire range, covering the block's terminator and all of its statements.

Variants

Statement

Default -Z dump_mir_spanview or -Z dump_mir_spanview=statement

Terminator

-Z dump_mir_spanview=terminator

Block

-Z dump_mir_spanview=block

Trait Implementations

impl Clone for MirSpanview[src]

impl Copy for MirSpanview[src]

impl Debug for MirSpanview[src]

impl Hash for MirSpanview[src]

impl PartialEq<MirSpanview> for MirSpanview[src]

impl StructuralPartialEq for MirSpanview[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,