Struct bitar::ChunkOffset
source · pub struct ChunkOffset {
pub offset: u64,
pub size: usize,
}
Fields§
§offset: u64
§size: usize
Implementations§
Trait Implementations§
source§impl Clone for ChunkOffset
impl Clone for ChunkOffset
source§fn clone(&self) -> ChunkOffset
fn clone(&self) -> ChunkOffset
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChunkOffset
impl Debug for ChunkOffset
source§impl Ord for ChunkOffset
impl Ord for ChunkOffset
source§impl PartialEq for ChunkOffset
impl PartialEq for ChunkOffset
source§fn eq(&self, other: &ChunkOffset) -> bool
fn eq(&self, other: &ChunkOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChunkOffset
impl PartialOrd for ChunkOffset
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 ChunkOffset
impl Eq for ChunkOffset
impl StructuralPartialEq for ChunkOffset
Auto Trait Implementations§
impl Freeze for ChunkOffset
impl RefUnwindSafe for ChunkOffset
impl Send for ChunkOffset
impl Sync for ChunkOffset
impl Unpin for ChunkOffset
impl UnwindSafe for ChunkOffset
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