pub struct Bytes<const SIZE: usize = 0>(pub [u8; SIZE]);Tuple Fields§
§0: [u8; SIZE]Implementations§
Trait Implementations§
Source§impl<const SIZE: usize> Ord for Bytes<SIZE>
impl<const SIZE: usize> Ord for Bytes<SIZE>
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<const SIZE: usize> PartialOrd for Bytes<SIZE>
impl<const SIZE: usize> PartialOrd for Bytes<SIZE>
impl<const SIZE: usize> Copy for Bytes<SIZE>
impl<const SIZE: usize> Eq for Bytes<SIZE>
impl<const SIZE: usize> StructuralPartialEq for Bytes<SIZE>
Auto Trait Implementations§
impl<const SIZE: usize> Freeze for Bytes<SIZE>
impl<const SIZE: usize> RefUnwindSafe for Bytes<SIZE>
impl<const SIZE: usize> Send for Bytes<SIZE>
impl<const SIZE: usize> Sync for Bytes<SIZE>
impl<const SIZE: usize> Unpin for Bytes<SIZE>
impl<const SIZE: usize> UnwindSafe for Bytes<SIZE>
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