pub struct Hex { /* private fields */ }Expand description
A Hexadecimal type is basically a wrapper around usize with it’s own display logic embedded into it.
Trait Implementations§
Source§impl Into<Hex> for Variant
impl Into<Hex> for Variant
Source§fn into(self) -> Hex
fn into(self) -> Hex
Converts the variant into a hexadecimal value, using the
Self::to_hex() function.
Source§impl Ord for Hex
impl Ord for Hex
Source§impl PartialOrd for Hex
impl PartialOrd for Hex
impl Copy for Hex
impl Eq for Hex
impl StructuralPartialEq for Hex
Auto Trait Implementations§
impl Freeze for Hex
impl RefUnwindSafe for Hex
impl Send for Hex
impl Sync for Hex
impl Unpin for Hex
impl UnwindSafe for Hex
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