pub enum FormatInteger {
DecimalSigned,
DecimalUnsigned,
HexadecimalSigned,
HexadecimalUnsigned,
}Expand description
Type that represent the integer formatting configuration.
Variants§
DecimalSigned
Display integers as signed decimal numbers.
DecimalUnsigned
Display integers as unsigned decimal numbers.
HexadecimalSigned
Display integers as signed hexdecimal numbers.
HexadecimalUnsigned
Display integers as unsigned hexdecimal numbers.
Trait Implementations§
Source§impl Clone for FormatInteger
impl Clone for FormatInteger
Source§fn clone(&self) -> FormatInteger
fn clone(&self) -> FormatInteger
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FormatInteger
Source§impl Debug for FormatInteger
impl Debug for FormatInteger
Source§impl Default for FormatInteger
impl Default for FormatInteger
Source§fn default() -> FormatInteger
fn default() -> FormatInteger
Returns the “default value” for a type. Read more
impl Eq for FormatInteger
Source§impl Hash for FormatInteger
impl Hash for FormatInteger
Source§impl Ord for FormatInteger
impl Ord for FormatInteger
Source§fn cmp(&self, other: &FormatInteger) -> Ordering
fn cmp(&self, other: &FormatInteger) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FormatInteger
impl PartialEq for FormatInteger
Source§fn eq(&self, other: &FormatInteger) -> bool
fn eq(&self, other: &FormatInteger) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FormatInteger
impl PartialOrd for FormatInteger
impl StructuralPartialEq for FormatInteger
Auto Trait Implementations§
impl Freeze for FormatInteger
impl RefUnwindSafe for FormatInteger
impl Send for FormatInteger
impl Sync for FormatInteger
impl Unpin for FormatInteger
impl UnsafeUnpin for FormatInteger
impl UnwindSafe for FormatInteger
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