pub struct NormalizedBytes(pub [u8; 64]);Expand description
Represent a 8×8 bytes that is been normalized, as such that all four FragmentFlip will result in the same NormalizedBytes
Tuple Fields§
§0: [u8; 64]Implementations§
Source§impl NormalizedBytes
impl NormalizedBytes
Sourcepub fn new(bytes: [u8; 64]) -> (Self, FragmentFlip)
pub fn new(bytes: [u8; 64]) -> (Self, FragmentFlip)
The returned FragmentFlip is the transformation that has been applied
Trait Implementations§
Source§impl Clone for NormalizedBytes
impl Clone for NormalizedBytes
Source§fn clone(&self) -> NormalizedBytes
fn clone(&self) -> NormalizedBytes
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 NormalizedBytes
impl Debug for NormalizedBytes
Source§impl Hash for NormalizedBytes
impl Hash for NormalizedBytes
Source§impl Ord for NormalizedBytes
impl Ord for NormalizedBytes
Source§fn cmp(&self, other: &NormalizedBytes) -> Ordering
fn cmp(&self, other: &NormalizedBytes) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NormalizedBytes
impl PartialEq for NormalizedBytes
Source§impl PartialOrd for NormalizedBytes
impl PartialOrd for NormalizedBytes
impl Copy for NormalizedBytes
impl Eq for NormalizedBytes
impl StructuralPartialEq for NormalizedBytes
Auto Trait Implementations§
impl Freeze for NormalizedBytes
impl RefUnwindSafe for NormalizedBytes
impl Send for NormalizedBytes
impl Sync for NormalizedBytes
impl Unpin for NormalizedBytes
impl UnwindSafe for NormalizedBytes
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