pub struct CellUpdate {
pub row: u16,
pub col: u16,
pub cell: Cell,
}Expand description
A single cell update at (row, col).
Used by GPU renderers for per-instance upload and by trace replayers for exact state reconstruction.
Fields§
§row: u16§col: u16§cell: CellTrait Implementations§
Source§impl Clone for CellUpdate
impl Clone for CellUpdate
Source§fn clone(&self) -> CellUpdate
fn clone(&self) -> CellUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CellUpdate
impl Debug for CellUpdate
Source§impl PartialEq for CellUpdate
impl PartialEq for CellUpdate
impl Eq for CellUpdate
impl StructuralPartialEq for CellUpdate
Auto Trait Implementations§
impl Freeze for CellUpdate
impl RefUnwindSafe for CellUpdate
impl Send for CellUpdate
impl Sync for CellUpdate
impl Unpin for CellUpdate
impl UnwindSafe for CellUpdate
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