pub struct Position {
pub row: Row,
pub col: Col,
}Expand description
Describes a place on the screen. (0, 0) is the top left.
Fields§
§row: RowThe horizontal row (zero at the top)
col: ColThe vertical column (zero on the left)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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