#[repr(transparent)]pub struct BlockSize(_);Expand description
A block size.
Block sizes are powers of 2, with the smallest being 1024 bytes.
Implementations§
Trait Implementations§
source§impl Ord for BlockSize
impl Ord for BlockSize
source§impl PartialEq<BlockSize> for BlockSize
impl PartialEq<BlockSize> for BlockSize
source§impl PartialOrd<BlockSize> for BlockSize
impl PartialOrd<BlockSize> for BlockSize
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 BlockSize
impl Eq for BlockSize
impl StructuralEq for BlockSize
impl StructuralPartialEq for BlockSize
Auto Trait Implementations§
impl RefUnwindSafe for BlockSize
impl Send for BlockSize
impl Sync for BlockSize
impl Unpin for BlockSize
impl UnwindSafe for BlockSize
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