Struct gimli::BigEndian [−][src]
pub struct BigEndian;
Big endian byte order.
Trait Implementations
impl Debug for BigEndian
[src]
impl Debug for BigEndian
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BigEndian
[src]
impl Clone for BigEndian
fn clone(&self) -> BigEndian
[src]
fn clone(&self) -> BigEndian
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for BigEndian
[src]
impl Copy for BigEndian
impl PartialEq for BigEndian
[src]
impl PartialEq for BigEndian
fn eq(&self, other: &BigEndian) -> bool
[src]
fn eq(&self, other: &BigEndian) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for BigEndian
[src]
impl Eq for BigEndian
impl Hash for BigEndian
[src]
impl Hash for BigEndian
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for BigEndian
[src]
impl Default for BigEndian
impl Endianity for BigEndian
[src]
impl Endianity for BigEndian
fn is_big_endian(self) -> bool
[src]
fn is_big_endian(self) -> bool
Return true for big endian byte order.
fn is_little_endian(self) -> bool
[src]
fn is_little_endian(self) -> bool
Return true for little endian byte order.
fn read_u16(self, buf: &[u8]) -> u16
[src]
fn read_u16(self, buf: &[u8]) -> u16
Reads an unsigned 16 bit integer from buf
. Read more
fn read_u32(self, buf: &[u8]) -> u32
[src]
fn read_u32(self, buf: &[u8]) -> u32
Reads an unsigned 32 bit integer from buf
. Read more
fn read_u64(self, buf: &[u8]) -> u64
[src]
fn read_u64(self, buf: &[u8]) -> u64
Reads an unsigned 64 bit integer from buf
. Read more
fn read_i16(self, buf: &[u8]) -> i16
[src]
fn read_i16(self, buf: &[u8]) -> i16
Reads a signed 16 bit integer from buf
. Read more
fn read_i32(self, buf: &[u8]) -> i32
[src]
fn read_i32(self, buf: &[u8]) -> i32
Reads a signed 32 bit integer from buf
. Read more
fn read_i64(self, buf: &[u8]) -> i64
[src]
fn read_i64(self, buf: &[u8]) -> i64
Reads a signed 64 bit integer from buf
. Read more
fn read_f32(self, buf: &[u8]) -> f32
[src]
fn read_f32(self, buf: &[u8]) -> f32
Reads a 32 bit floating point number from buf
. Read more
fn read_f64(self, buf: &[u8]) -> f64
[src]
fn read_f64(self, buf: &[u8]) -> f64
Reads a 32 bit floating point number from buf
. Read more
fn write_u64(self, buf: &mut [u8], n: u64)
[src]
fn write_u64(self, buf: &mut [u8], n: u64)
Writes an unsigned 64 bit integer n
to buf
. Read more