#[non_exhaustive]#[repr(u32)]pub enum pm_integer_base_flags {
PM_INTEGER_BASE_FLAGS_BINARY = 4,
PM_INTEGER_BASE_FLAGS_DECIMAL = 8,
PM_INTEGER_BASE_FLAGS_OCTAL = 16,
PM_INTEGER_BASE_FLAGS_HEXADECIMAL = 32,
}
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 = 4
0b prefix
PM_INTEGER_BASE_FLAGS_DECIMAL = 8
0d or no prefix
PM_INTEGER_BASE_FLAGS_OCTAL = 16
0o or 0 prefix
PM_INTEGER_BASE_FLAGS_HEXADECIMAL = 32
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
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 Freeze for pm_integer_base_flags
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