#[non_exhaustive]#[repr(u32)]pub enum pm_pack_type {
Show 22 variants
PM_PACK_SPACE = 0,
PM_PACK_COMMENT = 1,
PM_PACK_INTEGER = 2,
PM_PACK_UTF8 = 3,
PM_PACK_BER = 4,
PM_PACK_FLOAT = 5,
PM_PACK_STRING_SPACE_PADDED = 6,
PM_PACK_STRING_NULL_PADDED = 7,
PM_PACK_STRING_NULL_TERMINATED = 8,
PM_PACK_STRING_MSB = 9,
PM_PACK_STRING_LSB = 10,
PM_PACK_STRING_HEX_HIGH = 11,
PM_PACK_STRING_HEX_LOW = 12,
PM_PACK_STRING_UU = 13,
PM_PACK_STRING_MIME = 14,
PM_PACK_STRING_BASE64 = 15,
PM_PACK_STRING_FIXED = 16,
PM_PACK_STRING_POINTER = 17,
PM_PACK_MOVE = 18,
PM_PACK_BACK = 19,
PM_PACK_NULL = 20,
PM_PACK_END = 21,
}
Expand description
A directive within the pack template.
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_SPACE = 0
PM_PACK_COMMENT = 1
PM_PACK_INTEGER = 2
PM_PACK_UTF8 = 3
PM_PACK_BER = 4
PM_PACK_FLOAT = 5
PM_PACK_STRING_SPACE_PADDED = 6
PM_PACK_STRING_NULL_PADDED = 7
PM_PACK_STRING_NULL_TERMINATED = 8
PM_PACK_STRING_MSB = 9
PM_PACK_STRING_LSB = 10
PM_PACK_STRING_HEX_HIGH = 11
PM_PACK_STRING_HEX_LOW = 12
PM_PACK_STRING_UU = 13
PM_PACK_STRING_MIME = 14
PM_PACK_STRING_BASE64 = 15
PM_PACK_STRING_FIXED = 16
PM_PACK_STRING_POINTER = 17
PM_PACK_MOVE = 18
PM_PACK_BACK = 19
PM_PACK_NULL = 20
PM_PACK_END = 21
Trait Implementations§
Source§impl Clone for pm_pack_type
impl Clone for pm_pack_type
Source§fn clone(&self) -> pm_pack_type
fn clone(&self) -> pm_pack_type
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_type
impl Debug for pm_pack_type
Source§impl Hash for pm_pack_type
impl Hash for pm_pack_type
Source§impl PartialEq for pm_pack_type
impl PartialEq for pm_pack_type
impl Copy for pm_pack_type
impl Eq for pm_pack_type
impl StructuralPartialEq for pm_pack_type
Auto Trait Implementations§
impl Freeze for pm_pack_type
impl RefUnwindSafe for pm_pack_type
impl Send for pm_pack_type
impl Sync for pm_pack_type
impl Unpin for pm_pack_type
impl UnwindSafe for pm_pack_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