pub struct U64le(pub u64);
Tuple Fields§
§0: u64
Trait Implementations§
Source§impl Ord for U64le
impl Ord for U64le
Source§impl PartialOrd for U64le
impl PartialOrd for U64le
Source§impl Reader<u16, U64le> for U8Reader<'_>
impl Reader<u16, U64le> for U8Reader<'_>
fn next(&mut self) -> Result<U64le, ReadError>
Source§fn next_n(&mut self, buf: &mut [U64le]) -> Result<(), ReadError>
fn next_n(&mut self, buf: &mut [U64le]) -> Result<(), ReadError>
read
buf
-many items from this reader in bulk. if Reader
cannot read buf
-many items,
return ReadError::ExhaustedInput
.Source§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, U64le> for U8Reader<'_>
impl Reader<u32, U64le> for U8Reader<'_>
fn next(&mut self) -> Result<U64le, ReadError>
Source§fn next_n(&mut self, buf: &mut [U64le]) -> Result<(), ReadError>
fn next_n(&mut self, buf: &mut [U64le]) -> Result<(), ReadError>
read
buf
-many items from this reader in bulk. if Reader
cannot read buf
-many items,
return ReadError::ExhaustedInput
.Source§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, U64le> for U8Reader<'_>
impl Reader<u64, U64le> for U8Reader<'_>
fn next(&mut self) -> Result<U64le, ReadError>
Source§fn next_n(&mut self, buf: &mut [U64le]) -> Result<(), ReadError>
fn next_n(&mut self, buf: &mut [U64le]) -> Result<(), ReadError>
read
buf
-many items from this reader in bulk. if Reader
cannot read buf
-many items,
return ReadError::ExhaustedInput
.Source§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 U64le
impl Eq for U64le
impl StructuralPartialEq for U64le
Auto Trait Implementations§
impl Freeze for U64le
impl RefUnwindSafe for U64le
impl Send for U64le
impl Sync for U64le
impl Unpin for U64le
impl UnwindSafe for U64le
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