pub enum NumericFormat {
Normal,
Separator,
Hex,
Hex16,
Hex32,
Hex64,
}Expand description
How an integer list-item value is rendered.
Choose plain decimal, thousands separators, or hexadecimal with an optional fixed width (16, 32, or 64 bits).
Variants§
Normal
Plain decimal, for example 1234.
Separator
Thousands separators, for example 1,234.
Hex
Hexadecimal with 0x, for example 0x4D2.
Hex16
Hex padded to 16 bits, for example 0x04D2.
Hex32
Hex padded to 32 bits, for example 0x000004D2.
Hex64
Hex padded to 64 bits, for example 0x00000000000004D2.
Trait Implementations§
Source§impl Clone for NumericFormat
impl Clone for NumericFormat
Source§fn clone(&self) -> NumericFormat
fn clone(&self) -> NumericFormat
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 NumericFormat
impl Eq for NumericFormat
Source§impl PartialEq for NumericFormat
impl PartialEq for NumericFormat
impl StructuralPartialEq for NumericFormat
Auto Trait Implementations§
impl Freeze for NumericFormat
impl RefUnwindSafe for NumericFormat
impl Send for NumericFormat
impl Sync for NumericFormat
impl Unpin for NumericFormat
impl UnsafeUnpin for NumericFormat
impl UnwindSafe for NumericFormat
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§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.