[−][src]Struct rustc_mir::transform::coverage::debug::DebugOptions

pub(in transform::coverage) struct DebugOptions {
    pub allow_unused_expressions: bool,
    counter_format: ExpressionFormat,
}

Parses and maintains coverage-specific debug options captured from the environment variable "RUSTC_COVERAGE_DEBUG_OPTIONS", if set.

Fields

allow_unused_expressions: boolcounter_format: ExpressionFormat

Implementations

impl DebugOptions[src]

pub(in transform::coverage::debug) fn from_env(
) -> Self
[src]

Trait Implementations

impl Clone for DebugOptions[src]

impl Debug for DebugOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for DebugOptions

impl Send for DebugOptions

impl Sync for DebugOptions

impl Unpin for DebugOptions

impl UnwindSafe for DebugOptions

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<T> From<T> for T[src]

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

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<T> WithConstness for T[src]