pub struct Key4(/* private fields */);
Expand description
A compacted 4-byte key
This is defined specifically as the following conversion:
- Key8 bytes (
[u8; 8]
):[a, b, c, d, e, f, g, h]
- Key4 bytes (
[u8; 4]
):[a ^ b, c ^ d, e ^ f, g ^ h]
Implementations§
Trait Implementations§
impl Copy for Key4
impl StructuralPartialEq for Key4
Auto Trait Implementations§
impl Freeze for Key4
impl RefUnwindSafe for Key4
impl Send for Key4
impl Sync for Key4
impl Unpin for Key4
impl UnwindSafe for Key4
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