Enum ruby_prism_sys::pm_pack_size
source · #[non_exhaustive]#[repr(u32)]pub enum pm_pack_size {
PM_PACK_SIZE_SHORT = 0,
PM_PACK_SIZE_INT = 1,
PM_PACK_SIZE_LONG = 2,
PM_PACK_SIZE_LONG_LONG = 3,
PM_PACK_SIZE_8 = 4,
PM_PACK_SIZE_16 = 5,
PM_PACK_SIZE_32 = 6,
PM_PACK_SIZE_64 = 7,
PM_PACK_SIZE_P = 8,
PM_PACK_SIZE_NA = 9,
}Expand description
The size of an integer pack directive.
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_PACK_SIZE_SHORT = 0
PM_PACK_SIZE_INT = 1
PM_PACK_SIZE_LONG = 2
PM_PACK_SIZE_LONG_LONG = 3
PM_PACK_SIZE_8 = 4
PM_PACK_SIZE_16 = 5
PM_PACK_SIZE_32 = 6
PM_PACK_SIZE_64 = 7
PM_PACK_SIZE_P = 8
PM_PACK_SIZE_NA = 9
Trait Implementations§
source§impl Clone for pm_pack_size
impl Clone for pm_pack_size
source§fn clone(&self) -> pm_pack_size
fn clone(&self) -> pm_pack_size
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_pack_size
impl Debug for pm_pack_size
source§impl Hash for pm_pack_size
impl Hash for pm_pack_size
source§impl PartialEq for pm_pack_size
impl PartialEq for pm_pack_size
source§fn eq(&self, other: &pm_pack_size) -> bool
fn eq(&self, other: &pm_pack_size) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for pm_pack_size
impl Eq for pm_pack_size
impl StructuralPartialEq for pm_pack_size
Auto Trait Implementations§
impl RefUnwindSafe for pm_pack_size
impl Send for pm_pack_size
impl Sync for pm_pack_size
impl Unpin for pm_pack_size
impl UnwindSafe for pm_pack_size
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