[−][src]Struct gimli::BigEndian
Big endian byte order.
Trait Implementations
impl Endianity for BigEndian
[src]
fn is_big_endian(self) -> bool
[src]
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_uint(&mut self, buf: &[u8]) -> u64
[src]
Read an unsigned n-bytes integer u64. 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 read_f32(self, buf: &[u8]) -> f32
[src]
Reads a 32 bit floating point number from buf
. Read more
fn read_f64(self, buf: &[u8]) -> f64
[src]
Reads a 32 bit floating point number from buf
. Read more
fn write_u16(self, buf: &mut [u8], n: u16)
[src]
Writes an unsigned 16 bit integer n
to buf
. Read more
fn write_u32(self, buf: &mut [u8], n: u32)
[src]
Writes an unsigned 32 bit integer n
to buf
. Read more
fn write_u64(self, buf: &mut [u8], n: u64)
[src]
Writes an unsigned 64 bit integer n
to buf
. Read more
impl PartialEq<BigEndian> for BigEndian
[src]
fn eq(&self, other: &BigEndian) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for BigEndian
[src]
impl Hash for BigEndian
[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,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for BigEndian
[src]
impl Debug for BigEndian
[src]
impl Clone for BigEndian
[src]
fn clone(&self) -> BigEndian
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for BigEndian
[src]
Auto Trait Implementations
impl Send for BigEndian
impl Sync for BigEndian
impl Unpin for BigEndian
impl UnwindSafe for BigEndian
impl RefUnwindSafe for BigEndian
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,