pub struct GridVec {
pub dx: i32,
pub dy: i32,
}Expand description
A grid-space delta. Deliberately not serializable: deltas never cross the wire — commits carry the absolute values a delta produced.
Fields§
§dx: i32§dy: i32Implementations§
Trait Implementations§
impl Copy for GridVec
impl Eq for GridVec
impl StructuralPartialEq for GridVec
Auto Trait Implementations§
impl Freeze for GridVec
impl RefUnwindSafe for GridVec
impl Send for GridVec
impl Sync for GridVec
impl Unpin for GridVec
impl UnsafeUnpin for GridVec
impl UnwindSafe for GridVec
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