Struct gimli::LittleEndian
[−]
[src]
pub struct LittleEndian;
Little endian byte order.
Trait Implementations
impl Debug for LittleEndian
[src]
impl Clone for LittleEndian
[src]
fn clone(&self) -> LittleEndian
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for LittleEndian
[src]
impl PartialEq for LittleEndian
[src]
fn eq(&self, __arg_0: &LittleEndian) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for LittleEndian
[src]
impl Hash for LittleEndian
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for LittleEndian
[src]
fn default() -> LittleEndian
[src]
Returns the "default value" for a type. Read more
impl Endianity for LittleEndian
[src]
fn is_big_endian(self) -> bool
[src]
Return true for big endian byte order.
fn is_little_endian(self) -> bool
[src]
Return true for little endian byte order.
fn read_u16(self, buf: &[u8]) -> u16
[src]
Reads an unsigned 16 bit integer from buf
. Read more
fn read_u32(self, buf: &[u8]) -> u32
[src]
Reads an unsigned 32 bit integer from buf
. Read more
fn read_u64(self, buf: &[u8]) -> u64
[src]
Reads an unsigned 64 bit integer from buf
. Read more
fn read_i16(self, buf: &[u8]) -> i16
[src]
Reads a signed 16 bit integer from buf
. Read more
fn read_i32(self, buf: &[u8]) -> i32
[src]
Reads a signed 32 bit integer from buf
. Read more
fn read_i64(self, buf: &[u8]) -> i64
[src]
Reads a signed 64 bit integer from buf
. Read more
fn write_u64(self, buf: &mut [u8], n: u64)
[src]
Writes an unsigned 64 bit integer n
to buf
. Read more