[][src]Struct data_model::endian::Be32

pub struct Be32(_);

An unsigned integer type of with an explicit endianness.

See module level documentation for examples.

Methods

impl Be32[src]

pub fn to_native(self) -> u32[src]

Converts self to the native endianness.

Trait Implementations

impl DataInit for Be32[src]

fn from_slice(data: &[u8]) -> Option<&Self>[src]

Converts a slice of raw data into a reference of Self. Read more

fn from_mut_slice(data: &mut [u8]) -> Option<&mut Self>[src]

Converts a mutable slice of raw data into a mutable reference of Self. Read more

fn as_slice(&self) -> &[u8][src]

Converts a reference to self into a slice of bytes. Read more

fn as_mut_slice(&mut self) -> &mut [u8][src]

Converts a mutable reference to self into a mutable slice of bytes. Read more

impl Eq for Be32[src]

impl Clone for Be32[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Into<u32> for Be32[src]

impl Copy for Be32[src]

impl PartialEq<Be32> for Be32[src]

impl PartialEq<u32> for Be32[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<Be32> for u32[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Default for Be32[src]

impl From<u32> for Be32[src]

impl Debug for Be32[src]

Auto Trait Implementations

impl Send for Be32

impl Sync for Be32

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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