pub struct Point<L = Line> {
pub line: L,
pub col: Column,
}
Expand description
Index in the grid using row, column notation
Fields§
§line: L
§col: Column
Implementations§
Trait Implementations§
Source§impl From<RenderableCell> for Point<Line>
impl From<RenderableCell> for Point<Line>
Source§fn from(cell: RenderableCell) -> Self
fn from(cell: RenderableCell) -> Self
Converts to this type from the input type.
Source§impl Ord for Point
impl Ord for Point
Source§impl<L: PartialOrd> PartialOrd for Point<L>
impl<L: PartialOrd> PartialOrd for Point<L>
impl<L: Copy> Copy for Point<L>
impl<L: Eq> Eq for Point<L>
impl<L> StructuralPartialEq for Point<L>
Auto Trait Implementations§
impl<L> Freeze for Point<L>where
L: Freeze,
impl<L> RefUnwindSafe for Point<L>where
L: RefUnwindSafe,
impl<L> Send for Point<L>where
L: Send,
impl<L> Sync for Point<L>where
L: Sync,
impl<L> Unpin for Point<L>where
L: Unpin,
impl<L> UnwindSafe for Point<L>where
L: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)