#[repr(transparent)]pub struct LittleEndian<T>(T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Clone> Clone for LittleEndian<T>
impl<T: Clone> Clone for LittleEndian<T>
Source§fn clone(&self) -> LittleEndian<T>
fn clone(&self) -> LittleEndian<T>
Returns a copy 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 From<LittleEndian<u32>> for u32
impl From<LittleEndian<u32>> for u32
Source§fn from(LittleEndian: LittleEndian<u32>) -> Self
fn from(LittleEndian: LittleEndian<u32>) -> Self
Converts to this type from the input type.
Source§impl From<LittleEndian<u64>> for u64
impl From<LittleEndian<u64>> for u64
Source§fn from(LittleEndian: LittleEndian<u64>) -> Self
fn from(LittleEndian: LittleEndian<u64>) -> Self
Converts to this type from the input type.
impl<T: Copy> Copy for LittleEndian<T>
Auto Trait Implementations§
impl<T> Freeze for LittleEndian<T>where
T: Freeze,
impl<T> RefUnwindSafe for LittleEndian<T>where
T: RefUnwindSafe,
impl<T> Send for LittleEndian<T>where
T: Send,
impl<T> Sync for LittleEndian<T>where
T: Sync,
impl<T> Unpin for LittleEndian<T>where
T: Unpin,
impl<T> UnwindSafe for LittleEndian<T>where
T: UnwindSafe,
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