pub struct InvalidPackingError {
pub word_size: u8,
pub packing: Packing,
}Expand description
Indicates an invalid word size and packing combination.
Packing::Pack8bit requires a word size of 8, and Packing::Pack16bit
requires a word size of 16. Packing::None is valid for any word size.
Fields§
§word_size: u8The word size that was requested.
packing: PackingThe packing mode that was requested.
Trait Implementations§
Source§impl Clone for InvalidPackingError
impl Clone for InvalidPackingError
Source§fn clone(&self) -> InvalidPackingError
fn clone(&self) -> InvalidPackingError
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 InvalidPackingError
Source§impl Debug for InvalidPackingError
impl Debug for InvalidPackingError
impl Eq for InvalidPackingError
Source§impl PartialEq for InvalidPackingError
impl PartialEq for InvalidPackingError
impl StructuralPartialEq for InvalidPackingError
Auto Trait Implementations§
impl Freeze for InvalidPackingError
impl RefUnwindSafe for InvalidPackingError
impl Send for InvalidPackingError
impl Sync for InvalidPackingError
impl Unpin for InvalidPackingError
impl UnsafeUnpin for InvalidPackingError
impl UnwindSafe for InvalidPackingError
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