Enum dwarf::Endian
[−]
[src]
pub enum Endian { Little, Big, }
Variants
Little
Big
Methods
impl Endian
[src]
fn native() -> Self
fn read_u16<R: Read>(&self, r: &mut R) -> Result<u16, Error>
fn read_u32<R: Read>(&self, r: &mut R) -> Result<u32, Error>
fn read_u64<R: Read>(&self, r: &mut R) -> Result<u64, Error>
fn write_u16<W: Write>(&self, w: &mut W, val: u16) -> Result<(), Error>
fn write_u32<W: Write>(&self, w: &mut W, val: u32) -> Result<(), Error>
fn write_u64<W: Write>(&self, w: &mut W, val: u64) -> Result<(), Error>
Trait Implementations
impl Clone for Endian
[src]
fn clone(&self) -> Endian
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Endian
[src]
impl Debug for Endian
[src]
impl PartialEq for Endian
[src]
fn eq(&self, __arg_0: &Endian) -> 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
This method tests for !=
.