pub struct LittleEndian;Trait Implementations§
Source§impl Clone for LittleEndian
impl Clone for LittleEndian
Source§fn clone(&self) -> LittleEndian
fn clone(&self) -> LittleEndian
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 LittleEndian
impl Debug for LittleEndian
Source§impl Endianness for LittleEndian
impl Endianness for LittleEndian
fn as_runtime_endian(&self) -> RuntimeEndian
fn is_little_endian(&self) -> bool
fn read_u16(&self, n: u16) -> u16
fn read_u32(&self, n: u32) -> u32
fn read_u64(&self, n: u64) -> u64
fn read_i16(&self, n: i16) -> i16
fn read_i32(&self, n: i32) -> i32
fn read_i64(&self, n: i64) -> i64
fn read_u16_bytes(&self, bytes: [u8; 2]) -> u16
fn read_u32_bytes(&self, bytes: [u8; 4]) -> u32
fn read_u64_bytes(&self, bytes: [u8; 8]) -> u64
fn read_i16_bytes(&self, bytes: [u8; 2]) -> i16
fn read_i32_bytes(&self, bytes: [u8; 4]) -> i32
fn read_i64_bytes(&self, bytes: [u8; 8]) -> i64
Source§impl PartialEq for LittleEndian
impl PartialEq for LittleEndian
impl Copy for LittleEndian
impl Eq for LittleEndian
impl StructuralPartialEq for LittleEndian
Auto Trait Implementations§
impl Freeze for LittleEndian
impl RefUnwindSafe for LittleEndian
impl Send for LittleEndian
impl Sync for LittleEndian
impl Unpin for LittleEndian
impl UnwindSafe for LittleEndian
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.