pub enum DebugAsHex {
Lower,
Upper,
}
🔬This is a nightly-only experimental API. (
formatting_options
#118117)Available on non-crate feature
ferrocene_certified
only.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
#118117)Use lower-case hexadecimal integers for the Debug
trait (like the x?
type).
Upper
🔬This is a nightly-only experimental API. (
formatting_options
#118117)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 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 DebugAsHex
impl Debug for DebugAsHex
Source§impl PartialEq for DebugAsHex
impl PartialEq for DebugAsHex
impl Copy for DebugAsHex
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
Source§type Owned = T
type Owned = T
Available on non-crate feature
ferrocene_certified
only.The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> T
fn to_owned(&self) -> T
Available on non-crate feature
ferrocene_certified
only.Creates owned data from borrowed data, usually by cloning. Read more
Source§fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Available on non-crate feature
ferrocene_certified
only.Uses borrowed data to replace owned data, usually by cloning. Read more