Enum Swapbytes
#[repr(u8)]pub enum Swapbytes {
Native = 0,
Swapped = 1,
}Variants§
Implementations§
Trait Implementations§
impl Copy for Swapbytes
impl Eq for Swapbytes
§impl Ord for Swapbytes
impl Ord for Swapbytes
1.21.0 (const: unstable) · 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
§impl PartialOrd for Swapbytes
impl PartialOrd for Swapbytes
impl StructuralPartialEq for Swapbytes
Auto Trait Implementations§
impl Freeze for Swapbytes
impl RefUnwindSafe for Swapbytes
impl Send for Swapbytes
impl Sync for Swapbytes
impl Unpin for Swapbytes
impl UnsafeUnpin for Swapbytes
impl UnwindSafe for Swapbytes
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