#[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
impl Copy for pm_pack_size
impl Eq for pm_pack_size
impl StructuralPartialEq for pm_pack_size
Auto Trait Implementations§
impl Freeze for pm_pack_size
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