Struct yaxpeax_arch::U64be
source · pub struct U64be(pub u64);
Tuple Fields§
§0: u64
Trait Implementations§
source§impl Ord for U64be
impl Ord for U64be
source§impl PartialEq for U64be
impl PartialEq for U64be
source§impl PartialOrd for U64be
impl PartialOrd for U64be
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Reader<u16, U64be> for U8Reader<'_>
impl Reader<u16, U64be> for U8Reader<'_>
fn next(&mut self) -> Result<U64be, ReadError>
source§fn next_n(&mut self, buf: &mut [U64be]) -> Result<(), ReadError>
fn next_n(&mut self, buf: &mut [U64be]) -> Result<(), ReadError>
read
buf
-many items from this reader in bulk. Read moresource§fn offset(&mut self) -> u16
fn offset(&mut self) -> u16
the difference, in
Address
, between the current Reader
position and its last mark
.
when created, a Reader
’s initial position is mark
ed, so creating a Reader
and
immediately calling offset()
must return Address::zero()
.source§fn total_offset(&mut self) -> u16
fn total_offset(&mut self) -> u16
the difference, in
Address
, between the current Reader
position and the initial offset
when constructed.source§impl Reader<u32, U64be> for U8Reader<'_>
impl Reader<u32, U64be> for U8Reader<'_>
fn next(&mut self) -> Result<U64be, ReadError>
source§fn next_n(&mut self, buf: &mut [U64be]) -> Result<(), ReadError>
fn next_n(&mut self, buf: &mut [U64be]) -> Result<(), ReadError>
read
buf
-many items from this reader in bulk. Read moresource§fn offset(&mut self) -> u32
fn offset(&mut self) -> u32
the difference, in
Address
, between the current Reader
position and its last mark
.
when created, a Reader
’s initial position is mark
ed, so creating a Reader
and
immediately calling offset()
must return Address::zero()
.source§fn total_offset(&mut self) -> u32
fn total_offset(&mut self) -> u32
the difference, in
Address
, between the current Reader
position and the initial offset
when constructed.source§impl Reader<u64, U64be> for U8Reader<'_>
impl Reader<u64, U64be> for U8Reader<'_>
fn next(&mut self) -> Result<U64be, ReadError>
source§fn next_n(&mut self, buf: &mut [U64be]) -> Result<(), ReadError>
fn next_n(&mut self, buf: &mut [U64be]) -> Result<(), ReadError>
read
buf
-many items from this reader in bulk. Read moresource§fn offset(&mut self) -> u64
fn offset(&mut self) -> u64
the difference, in
Address
, between the current Reader
position and its last mark
.
when created, a Reader
’s initial position is mark
ed, so creating a Reader
and
immediately calling offset()
must return Address::zero()
.source§fn total_offset(&mut self) -> u64
fn total_offset(&mut self) -> u64
the difference, in
Address
, between the current Reader
position and the initial offset
when constructed.impl Copy for U64be
impl Eq for U64be
impl StructuralPartialEq for U64be
Auto Trait Implementations§
impl Freeze for U64be
impl RefUnwindSafe for U64be
impl Send for U64be
impl Sync for U64be
impl Unpin for U64be
impl UnwindSafe for U64be
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)