Enum aml::DebugVerbosity[][src]

pub enum DebugVerbosity {
    None,
    Scopes,
    AllScopes,
    All,
}

Describes how much debug information the parser should emit. Set the “maximum” expected verbosity in the context’s debug_verbosity - everything will be printed that is less or equal in ‘verbosity’.

Variants

None

Print no debug information

Scopes

Print heads and tails when entering and leaving scopes of major objects, but not more minor ones.

AllScopes

Print heads and tails when entering and leaving scopes of all objects.

All

Print heads and tails of all objects, and extra debug information as it’s parsed.

Trait Implementations

impl Clone for DebugVerbosity[src]

impl Copy for DebugVerbosity[src]

impl Debug for DebugVerbosity[src]

impl Eq for DebugVerbosity[src]

impl Ord for DebugVerbosity[src]

impl PartialEq<DebugVerbosity> for DebugVerbosity[src]

impl PartialOrd<DebugVerbosity> for DebugVerbosity[src]

impl StructuralEq for DebugVerbosity[src]

impl StructuralPartialEq for DebugVerbosity[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<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.