#[non_exhaustive]#[repr(u32)]pub enum pm_integer_base_flags {
PM_INTEGER_BASE_FLAGS_BINARY = 1,
PM_INTEGER_BASE_FLAGS_DECIMAL = 2,
PM_INTEGER_BASE_FLAGS_OCTAL = 4,
PM_INTEGER_BASE_FLAGS_HEXADECIMAL = 8,
}Expand description
Flags for integer nodes that correspond to the base of the integer.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PM_INTEGER_BASE_FLAGS_BINARY = 1
0b prefix
PM_INTEGER_BASE_FLAGS_DECIMAL = 2
0d or no prefix
PM_INTEGER_BASE_FLAGS_OCTAL = 4
0o or 0 prefix
PM_INTEGER_BASE_FLAGS_HEXADECIMAL = 8
0x prefix
Trait Implementations§
source§impl Clone for pm_integer_base_flags
impl Clone for pm_integer_base_flags
source§fn clone(&self) -> pm_integer_base_flags
fn clone(&self) -> pm_integer_base_flags
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 pm_integer_base_flags
impl Debug for pm_integer_base_flags
source§impl Hash for pm_integer_base_flags
impl Hash for pm_integer_base_flags
source§impl PartialEq for pm_integer_base_flags
impl PartialEq for pm_integer_base_flags
source§fn eq(&self, other: &pm_integer_base_flags) -> bool
fn eq(&self, other: &pm_integer_base_flags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for pm_integer_base_flags
impl Eq for pm_integer_base_flags
impl StructuralPartialEq for pm_integer_base_flags
Auto Trait Implementations§
impl RefUnwindSafe for pm_integer_base_flags
impl Send for pm_integer_base_flags
impl Sync for pm_integer_base_flags
impl Unpin for pm_integer_base_flags
impl UnwindSafe for pm_integer_base_flags
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