#[repr(u8)]pub enum DebugLevel {
Bool(Spanned<bool>),
Number(Spanned<u8>),
String(Spanned<String>),
}Expand description
Debug information level.
Variants§
Bool(Spanned<bool>)
Boolean debug info (true = full, false = none).
Number(Spanned<u8>)
Numeric debug level (0, 1, or 2).
String(Spanned<String>)
Named debug level (“line-tables-only”, “line-directives-only”).
Trait Implementations§
Source§impl Clone for DebugLevel
impl Clone for DebugLevel
Source§fn clone(&self) -> DebugLevel
fn clone(&self) -> DebugLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebugLevel
impl Debug for DebugLevel
Auto Trait Implementations§
impl Freeze for DebugLevel
impl RefUnwindSafe for DebugLevel
impl Send for DebugLevel
impl Sync for DebugLevel
impl Unpin for DebugLevel
impl UnsafeUnpin for DebugLevel
impl UnwindSafe for DebugLevel
Blanket Implementations§
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