pub enum IntegerFormat {
AlwaysDecimal,
AlwaysHex,
HexWhenOver(u64),
}Variants§
AlwaysDecimal
Always render integers as decimal.
AlwaysHex
Always render integers as hexadecimal. Note that negative numbers will still be rendered as decimal.
HexWhenOver(u64)
Render integers as hexadecimal when they are over a certain size.
Implementations§
Trait Implementations§
Source§impl Clone for IntegerFormat
impl Clone for IntegerFormat
Source§fn clone(&self) -> IntegerFormat
fn clone(&self) -> IntegerFormat
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 IntegerFormat
impl Debug for IntegerFormat
Source§impl PartialEq for IntegerFormat
impl PartialEq for IntegerFormat
impl Copy for IntegerFormat
impl Eq for IntegerFormat
impl StructuralPartialEq for IntegerFormat
Auto Trait Implementations§
impl Freeze for IntegerFormat
impl RefUnwindSafe for IntegerFormat
impl Send for IntegerFormat
impl Sync for IntegerFormat
impl Unpin for IntegerFormat
impl UnwindSafe for IntegerFormat
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