pub struct PatternCell {
pub x_index: u32,
pub y_index: u32,
}Expand description
Cell of the grid, by its index along each axis.
Cells are ordered by x_index, then by y_index.
Fields§
§x_index: u32Index of the cell along the x axis.
y_index: u32Index of the cell along the y axis.
Trait Implementations§
Source§impl Clone for PatternCell
impl Clone for PatternCell
impl Copy for PatternCell
Source§impl Debug for PatternCell
impl Debug for PatternCell
impl Eq for PatternCell
Source§impl Hash for PatternCell
impl Hash for PatternCell
Source§impl Ord for PatternCell
impl Ord for PatternCell
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PatternCell
impl PartialEq for PatternCell
Source§impl PartialOrd for PatternCell
impl PartialOrd for PatternCell
impl StructuralPartialEq for PatternCell
Auto Trait Implementations§
impl Freeze for PatternCell
impl RefUnwindSafe for PatternCell
impl Send for PatternCell
impl Sync for PatternCell
impl Unpin for PatternCell
impl UnsafeUnpin for PatternCell
impl UnwindSafe for PatternCell
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