Enum rustc_session::config::MirSpanview
source · [−]pub enum MirSpanview {
Statement,
Terminator,
Block,
}
Expand description
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
sourceimpl Clone for MirSpanview
impl Clone for MirSpanview
sourcefn clone(&self) -> MirSpanview
fn clone(&self) -> MirSpanview
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for MirSpanview
impl Debug for MirSpanview
sourceimpl Hash for MirSpanview
impl Hash for MirSpanview
sourceimpl PartialEq<MirSpanview> for MirSpanview
impl PartialEq<MirSpanview> for MirSpanview
sourcefn eq(&self, other: &MirSpanview) -> bool
fn eq(&self, other: &MirSpanview) -> bool
impl Copy for MirSpanview
impl StructuralPartialEq for MirSpanview
Auto Trait Implementations
impl RefUnwindSafe for MirSpanview
impl Send for MirSpanview
impl Sync for MirSpanview
impl Unpin for MirSpanview
impl UnwindSafe for MirSpanview
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
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: 1 byte
Size for each variant:
Statement
: 0 bytesTerminator
: 0 bytesBlock
: 0 bytes