#[non_exhaustive]#[repr(u32)]pub enum pm_pack_length_type {
PM_PACK_LENGTH_FIXED = 0,
PM_PACK_LENGTH_MAX = 1,
PM_PACK_LENGTH_RELATIVE = 2,
PM_PACK_LENGTH_NA = 3,
}Expand description
The type of length of a 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_LENGTH_FIXED = 0
PM_PACK_LENGTH_MAX = 1
PM_PACK_LENGTH_RELATIVE = 2
special case for unpack @*
PM_PACK_LENGTH_NA = 3
Trait Implementations§
Source§impl Clone for pm_pack_length_type
impl Clone for pm_pack_length_type
Source§fn clone(&self) -> pm_pack_length_type
fn clone(&self) -> pm_pack_length_type
Returns a duplicate 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_length_type
impl Debug for pm_pack_length_type
Source§impl Hash for pm_pack_length_type
impl Hash for pm_pack_length_type
Source§impl PartialEq for pm_pack_length_type
impl PartialEq for pm_pack_length_type
impl Copy for pm_pack_length_type
impl Eq for pm_pack_length_type
impl StructuralPartialEq for pm_pack_length_type
Auto Trait Implementations§
impl Freeze for pm_pack_length_type
impl RefUnwindSafe for pm_pack_length_type
impl Send for pm_pack_length_type
impl Sync for pm_pack_length_type
impl Unpin for pm_pack_length_type
impl UnwindSafe for pm_pack_length_type
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