pub enum DebugAsHex {
Lower,
Upper,
}
🔬This is a nightly-only experimental API. (
formatting_options
)Expand description
Specifies whether the Debug
trait should use lower-/upper-case
hexadecimal or normal integers.
Variants§
Lower
🔬This is a nightly-only experimental API. (
formatting_options
)Use lower-case hexadecimal integers for the Debug
trait (like the x?
type).
Upper
🔬This is a nightly-only experimental API. (
formatting_options
)Use upper-case hexadecimal integers for the Debug
trait (like the X?
type).
Trait Implementations§
Source§impl Clone for DebugAsHex
impl Clone for DebugAsHex
Source§fn clone(&self) -> DebugAsHex
fn clone(&self) -> DebugAsHex
Returns a copy 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 DebugAsHex
impl Debug for DebugAsHex
Source§impl Eq for DebugAsHex
impl Eq for DebugAsHex
#[doc(hidden)] fn assert_receiver_is_total_eq(&self)
Source§impl PartialEq for DebugAsHex
impl PartialEq for DebugAsHex
impl Copy for DebugAsHex
impl StructuralPartialEq for DebugAsHex
Auto Trait Implementations§
impl Freeze for DebugAsHex
impl RefUnwindSafe for DebugAsHex
impl Send for DebugAsHex
impl Sync for DebugAsHex
impl Unpin for DebugAsHex
impl UnwindSafe for DebugAsHex
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