pub struct Table<T> { /* private fields */ }Expand description
A table that stores values for each cells.
Implementations§
Trait Implementations§
Source§impl<T> Geom for Table<T>
impl<T> Geom for Table<T>
Source§fn point_to_cellid(&self, p: Point) -> CellId
fn point_to_cellid(&self, p: Point) -> CellId
Convert a point to a corresponding cell ID.
Source§fn cellid_to_point(&self, id: CellId) -> Point
fn cellid_to_point(&self, id: CellId) -> Point
Convert a cell ID to a corresponding point.
Source§fn points_in_row(&self, row: i32) -> PointsInRow ⓘ
fn points_in_row(&self, row: i32) -> PointsInRow ⓘ
Returns an iterator iterating all points in the row.
Source§fn points_in_column(&self, column: i32) -> PointsInColumn ⓘ
fn points_in_column(&self, column: i32) -> PointsInColumn ⓘ
Returns an iterator iterating all points in the column.
impl<T: Eq> Eq for Table<T>
impl<T> StructuralPartialEq for Table<T>
Auto Trait Implementations§
impl<T> Freeze for Table<T>
impl<T> RefUnwindSafe for Table<T>where
T: RefUnwindSafe,
impl<T> Send for Table<T>where
T: Send,
impl<T> Sync for Table<T>where
T: Sync,
impl<T> Unpin for Table<T>where
T: Unpin,
impl<T> UnwindSafe for Table<T>where
T: UnwindSafe,
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