[][src]Struct gimli::BigEndian

pub struct BigEndian;

Big endian byte order.

Trait Implementations

impl Endianity for BigEndian[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]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for BigEndian[src]

impl Hash for BigEndian[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

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_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for BigEndian[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]