Enum rustc_session::config::PpMode
source · pub enum PpMode {
Source(PpSourceMode),
AstTree,
AstTreeExpanded,
Hir(PpHirMode),
HirTree,
ThirTree,
ThirFlat,
Mir,
MirCFG,
StableMir,
}
Variants§
Source(PpSourceMode)
Options that print the source code, i.e.
-Zunpretty=normal
and -Zunpretty=expanded
AstTree
-Zunpretty=ast-tree
AstTreeExpanded
-Zunpretty=ast-tree,expanded
Hir(PpHirMode)
Options that print the HIR, i.e. -Zunpretty=hir
HirTree
-Zunpretty=hir-tree
ThirTree
-Zunpretty=thir-tree
ThirFlat
-Zunpretty=thir-flat
Mir
-Zunpretty=mir
MirCFG
-Zunpretty=mir-cfg
StableMir
-Zunpretty=stable-mir
Implementations§
Trait Implementations§
source§impl PartialEq for PpMode
impl PartialEq for PpMode
impl Copy for PpMode
impl StructuralPartialEq for PpMode
Auto Trait Implementations§
impl DynSend for PpMode
impl DynSync for PpMode
impl Freeze for PpMode
impl RefUnwindSafe for PpMode
impl Send for PpMode
impl Sync for PpMode
impl Unpin for PpMode
impl UnwindSafe for PpMode
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
source§impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut T
fn allocate_from_iter<'a>( arena: &'a Arena<'tcx>, iter: impl IntoIterator<Item = T> ) -> &'a mut [T]
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Filterable for T
impl<T> Filterable for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for 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: 2 bytes
Size for each variant:
Source
: 1 byteAstTree
: 0 bytesAstTreeExpanded
: 0 bytesHir
: 1 byteHirTree
: 0 bytesThirTree
: 0 bytesThirFlat
: 0 bytesMir
: 0 bytesMirCFG
: 0 bytesStableMir
: 0 bytes