Struct rustc_const_eval::interpret::eval_context::SpanGuard [−][src]
struct SpanGuard(Span, PhantomData<*const u8>);
Tuple Fields
0: Span
1: PhantomData<*const u8>
Implementations
If a span is entered, we exit the previous span (if any, normally none) and enter the
new span. This is mainly so we don’t have to use Option
for the tracing_span
field of
Frame
by creating a dummy span to being with and then entering it once the frame has
been pushed.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SpanGuard
impl !UnwindSafe for SpanGuard
Blanket Implementations
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: 32 bytes