Enum iced_x86::NumberBase
source · pub enum NumberBase {
Hexadecimal = 0,
Decimal = 1,
Octal = 2,
Binary = 3,
}
Expand description
Number base
Variants§
Hexadecimal = 0
Hex numbers (base 16)
Decimal = 1
Decimal numbers (base 10)
Octal = 2
Octal numbers (base 8)
Binary = 3
Binary numbers (base 2)
Implementations§
source§impl NumberBase
impl NumberBase
sourcepub fn values(
) -> impl Iterator<Item = NumberBase> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
pub fn values( ) -> impl Iterator<Item = NumberBase> + DoubleEndedIterator + ExactSizeIterator + FusedIterator
Iterates over all NumberBase
enum values
Trait Implementations§
source§impl Clone for NumberBase
impl Clone for NumberBase
source§fn clone(&self) -> NumberBase
fn clone(&self) -> NumberBase
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 NumberBase
impl Debug for NumberBase
source§impl Default for NumberBase
impl Default for NumberBase
source§impl<'de> Deserialize<'de> for NumberBase
impl<'de> Deserialize<'de> for NumberBase
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for NumberBase
impl Hash for NumberBase
source§impl Ord for NumberBase
impl Ord for NumberBase
source§fn cmp(&self, other: &NumberBase) -> Ordering
fn cmp(&self, other: &NumberBase) -> Ordering
1.21.0 · 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 NumberBase
impl PartialEq for NumberBase
source§fn eq(&self, other: &NumberBase) -> bool
fn eq(&self, other: &NumberBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NumberBase
impl PartialOrd for NumberBase
source§fn partial_cmp(&self, other: &NumberBase) -> Option<Ordering>
fn partial_cmp(&self, other: &NumberBase) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for NumberBase
impl Serialize for NumberBase
source§impl TryFrom<usize> for NumberBase
impl TryFrom<usize> for NumberBase
impl Copy for NumberBase
impl Eq for NumberBase
impl StructuralEq for NumberBase
impl StructuralPartialEq for NumberBase
Auto Trait Implementations§
impl RefUnwindSafe for NumberBase
impl Send for NumberBase
impl Sync for NumberBase
impl Unpin for NumberBase
impl UnwindSafe for NumberBase
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