#[repr(u8)]pub enum Swapbytes {
NATIVE = 0,
SWAPPED = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for Swapbytes
impl Ord for Swapbytes
Source§impl PartialOrd for Swapbytes
impl PartialOrd for Swapbytes
impl Copy for Swapbytes
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)