pub struct GridLine {
pub start: IVec2,
pub end: IVec2,
}
Expand description
A line of points on a 2d grid.
Fields§
§start: IVec2
§end: IVec2
Implementations§
Trait Implementations§
Source§impl GridShape for GridLine
impl GridShape for GridLine
Source§impl IntoIterator for GridLine
impl IntoIterator for GridLine
impl Copy for GridLine
impl Eq for GridLine
impl StructuralPartialEq for GridLine
Auto Trait Implementations§
impl Freeze for GridLine
impl RefUnwindSafe for GridLine
impl Send for GridLine
impl Sync for GridLine
impl Unpin for GridLine
impl UnwindSafe for GridLine
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