pub struct Block {
pub checksum: u32,
pub cells: [Cell; 64],
}Expand description
A block. Blocks contain a grid of 8x8 cells.
Blocks are stored in Maps in columns, top to bottom, left to right
Fields§
§checksum: u32Unused
cells: [Cell; 64]An 8x8 grid of cells, stored in rows. The first row is the top of the block, working downwards
Trait Implementations§
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 UnsafeUnpin 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