pub struct GridRange {
pub row: u32,
pub col: u32,
pub to_row: u32,
pub to_col: u32,
}Expand description
A rectangle of a grid: the anchor (row, col, the active cell) and the other corner
(to_row, to_col).
Fields§
§row: u32§col: u32§to_row: u32§to_col: u32Implementations§
Trait Implementations§
impl Copy for GridRange
Source§impl<'de> Deserialize<'de> for GridRange
impl<'de> Deserialize<'de> for GridRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GridRange
impl StructuralPartialEq for GridRange
Auto Trait Implementations§
impl Forget for GridRange
impl Freeze for GridRange
impl Move for GridRange
impl RefUnwindSafe for GridRange
impl Send for GridRange
impl Sync for GridRange
impl Unpin for GridRange
impl UnsafeUnpin for GridRange
impl UnwindSafe for GridRange
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