pub enum Debuggability {
C_DEBUG,
C_DEBUG_NONEMPTY,
}Variants§
C_DEBUG
If there are exceptions, they are rare.
C_DEBUG_NONEMPTY
Even for conceptually empty values, the Debug representation should never be empty.
let empty_str = "";
assert_eq!(format!("{:?}", empty_str), "\"\"");
let empty_vec = Vec::<bool>::new();
assert_eq!(format!("{:?}", empty_vec), "[]");Auto Trait Implementations§
impl Freeze for Debuggability
impl RefUnwindSafe for Debuggability
impl Send for Debuggability
impl Sync for Debuggability
impl Unpin for Debuggability
impl UnsafeUnpin for Debuggability
impl UnwindSafe for Debuggability
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