#[non_exhaustive]pub enum BitPacking {
Enabled,
Disabled,
}Expand description
Bit packing of a Configuration.
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.
Trait Implementations§
Source§impl Clone for BitPacking
impl Clone for BitPacking
Source§fn clone(&self) -> BitPacking
fn clone(&self) -> BitPacking
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BitPacking
Source§impl Debug for BitPacking
impl Debug for BitPacking
impl Eq for BitPacking
Source§impl PartialEq for BitPacking
impl PartialEq for BitPacking
Source§fn eq(&self, other: &BitPacking) -> bool
fn eq(&self, other: &BitPacking) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BitPacking
Auto Trait Implementations§
impl Freeze for BitPacking
impl RefUnwindSafe for BitPacking
impl Send for BitPacking
impl Sync for BitPacking
impl Unpin for BitPacking
impl UnsafeUnpin for BitPacking
impl UnwindSafe for BitPacking
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