Enum DebugAsHex

enum DebugAsHex

Specifies whether the Debug trait should use lower-/upper-case hexadecimal or normal integers.

Variants

Lower

Use lower-case hexadecimal integers for the Debug trait (like the x? type).

Upper

Use upper-case hexadecimal integers for the Debug trait (like the X? type).

Implementations

impl Clone for DebugAsHex

fn clone(self: &Self) -> DebugAsHex

impl Copy for DebugAsHex

impl Debug for DebugAsHex

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Eq for DebugAsHex

impl Freeze for DebugAsHex

impl PartialEq for DebugAsHex

fn eq(self: &Self, other: &DebugAsHex) -> bool

impl RefUnwindSafe for DebugAsHex

impl Send for DebugAsHex

impl StructuralPartialEq for DebugAsHex

impl Sync for DebugAsHex

impl Unpin for DebugAsHex

impl UnwindSafe for DebugAsHex

impl<T> Any for DebugAsHex

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for DebugAsHex

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for DebugAsHex

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for DebugAsHex

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for DebugAsHex

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for DebugAsHex

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for DebugAsHex

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for DebugAsHex

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>