Enum iced_x86::NumberBase
source · [−]pub enum NumberBase {
Hexadecimal,
Decimal,
Octal,
Binary,
}
Expand description
Number base
Variants
Hexadecimal
Hex numbers (base 16)
Decimal
Decimal numbers (base 10)
Octal
Octal numbers (base 8)
Binary
Binary numbers (base 2)
Implementations
sourceimpl 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
sourceimpl Clone for NumberBase
impl Clone for NumberBase
sourcefn clone(&self) -> NumberBase
fn clone(&self) -> NumberBase
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NumberBase
impl Debug for NumberBase
sourceimpl Default for NumberBase
impl Default for NumberBase
sourceimpl Hash for NumberBase
impl Hash for NumberBase
sourceimpl Ord for NumberBase
impl Ord for NumberBase
sourcefn cmp(&self, other: &NumberBase) -> Ordering
fn cmp(&self, other: &NumberBase) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<NumberBase> for NumberBase
impl PartialEq<NumberBase> for NumberBase
sourcefn eq(&self, other: &NumberBase) -> bool
fn eq(&self, other: &NumberBase) -> bool
sourceimpl PartialOrd<NumberBase> for NumberBase
impl PartialOrd<NumberBase> for NumberBase
sourcefn partial_cmp(&self, other: &NumberBase) -> Option<Ordering>
fn partial_cmp(&self, other: &NumberBase) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moresourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more