#[repr(u8)]pub enum DisplayHint {
Default = 1,
LowerHex = 2,
UpperHex = 3,
Ip = 4,
LowerMac = 5,
UpperMac = 6,
}
Expand description
All display hints
Variants§
Default = 1
Default string representation.
LowerHex = 2
:x
UpperHex = 3
:X
Ip = 4
:i
LowerMac = 5
:mac
UpperMac = 6
:MAC
Trait Implementations§
source§impl Clone for DisplayHint
impl Clone for DisplayHint
source§fn clone(&self) -> DisplayHint
fn clone(&self) -> DisplayHint
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 DisplayHint
impl Debug for DisplayHint
source§impl From<DisplayHint> for u8
impl From<DisplayHint> for u8
source§fn from(enum_value: DisplayHint) -> Self
fn from(enum_value: DisplayHint) -> Self
Converts to this type from the input type.
source§impl PartialEq for DisplayHint
impl PartialEq for DisplayHint
source§impl WriteToBuf for DisplayHint
impl WriteToBuf for DisplayHint
impl Copy for DisplayHint
impl Eq for DisplayHint
impl StructuralPartialEq for DisplayHint
Auto Trait Implementations§
impl Freeze for DisplayHint
impl RefUnwindSafe for DisplayHint
impl Send for DisplayHint
impl Sync for DisplayHint
impl Unpin for DisplayHint
impl UnwindSafe for DisplayHint
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)