pub struct Block(_);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 PartialEq<Block> for Block
impl PartialEq<Block> for Block
source§impl PartialOrd<Block> for Block
impl PartialOrd<Block> for Block
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 more