Struct io_interner::IOPos
source · pub struct IOPos {
pub start_pos: u64,
pub len: u64,
}
Expand description
Struct stating which data IOObj
will read from the IOInterner
internal IO object.
Fields§
§start_pos: u64
The start position on which the IOObj
can read in the next Read::read
.
len: u64
The max amount of bytes this IOObj
can read in the next Read::read
.
Trait Implementations§
source§impl Ord for IOPos
impl Ord for IOPos
source§impl PartialEq<IOPos> for IOPos
impl PartialEq<IOPos> for IOPos
source§impl PartialOrd<IOPos> for IOPos
impl PartialOrd<IOPos> for IOPos
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 moreimpl Copy for IOPos
impl Eq for IOPos
impl StructuralEq for IOPos
impl StructuralPartialEq for IOPos
Auto Trait Implementations§
impl RefUnwindSafe for IOPos
impl Send for IOPos
impl Sync for IOPos
impl Unpin for IOPos
impl UnwindSafe for IOPos
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