[−][src]Struct object::endian::LittleEndian
Compile-time little endian byte order.
Trait Implementations
impl Clone for LittleEndian
[src]
fn clone(&self) -> LittleEndian
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LittleEndian
[src]
impl Debug for LittleEndian
[src]
impl Default for LittleEndian
[src]
fn default() -> LittleEndian
[src]
impl Endian for LittleEndian
[src]
fn from_big_endian(big_endian: bool) -> Option<Self>
[src]
fn is_big_endian(self) -> bool
[src]
fn from_little_endian(little_endian: bool) -> Option<Self>
[src]
fn is_little_endian(self) -> bool
[src]
fn read_u16(self, n: u16) -> u16
[src]
fn read_u32(self, n: u32) -> u32
[src]
fn read_u64(self, n: u64) -> u64
[src]
fn read_i16(self, n: i16) -> i16
[src]
fn read_i32(self, n: i32) -> i32
[src]
fn read_i64(self, n: i64) -> i64
[src]
fn read_u16_bytes(self, n: [u8; 2]) -> u16
[src]
fn read_u32_bytes(self, n: [u8; 4]) -> u32
[src]
fn read_u64_bytes(self, n: [u8; 8]) -> u64
[src]
fn write_u16(self, n: u16) -> u16
[src]
fn write_u32(self, n: u32) -> u32
[src]
fn write_u64(self, n: u64) -> u64
[src]
fn write_i16(self, n: i16) -> i16
[src]
fn write_i32(self, n: i32) -> i32
[src]
fn write_i64(self, n: i64) -> i64
[src]
fn write_u16_bytes(self, n: u16) -> [u8; 2]
[src]
fn write_u32_bytes(self, n: u32) -> [u8; 4]
[src]
fn write_u64_bytes(self, n: u64) -> [u8; 8]
[src]
impl Eq for LittleEndian
[src]
impl Hash for LittleEndian
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<LittleEndian> for LittleEndian
[src]
fn eq(&self, other: &LittleEndian) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for LittleEndian
[src]
impl StructuralPartialEq for LittleEndian
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,