#[repr(transparent)]pub struct ChunkNum(pub u64);
Expand description
A number of blake3 chunks.
This is a newtype for u64. The blake3 chunk size is 1024 bytes.
Tuple Fields§
§0: u64
Implementations§
Trait Implementations§
source§impl Ord for ChunkNum
impl Ord for ChunkNum
source§impl PartialEq<ChunkNum> for ChunkNum
impl PartialEq<ChunkNum> for ChunkNum
source§impl PartialEq<ChunkNum> for u64
impl PartialEq<ChunkNum> for u64
source§impl PartialOrd<ChunkNum> for ChunkNum
impl PartialOrd<ChunkNum> for ChunkNum
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 PartialOrd<u64> for ChunkNum
impl PartialOrd<u64> for ChunkNum
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 RangeSetEntry for ChunkNum
impl RangeSetEntry for ChunkNum
impl Copy for ChunkNum
impl Eq for ChunkNum
impl StructuralEq for ChunkNum
impl StructuralPartialEq for ChunkNum
Auto Trait Implementations§
impl RefUnwindSafe for ChunkNum
impl Send for ChunkNum
impl Sync for ChunkNum
impl Unpin for ChunkNum
impl UnwindSafe for ChunkNum
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