pub struct Block(/* private fields */);Expand description
Three items of information may need to be transferred in a Block (Block1 or Block2) option:
- the size of the block (
Block::size) - whether more blocks are following (
Block::more) - the relative number of the block (
Block::num) within a sequence of blocks with the given size.
Implementations§
Trait Implementations§
Source§impl Ord for Block
impl Ord for Block
Source§impl PartialOrd for Block
impl PartialOrd for Block
impl Copy for Block
impl Eq for Block
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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