pub struct Line<P, M> {
pub position: P,
pub moves: Vec<M>,
}Expand description
A position followed by a linear sequence of moves.
Fields§
§position: P§moves: Vec<M>Implementations§
Trait Implementations§
Source§impl<P: PartialEq, M: PartialEq> PartialEq for Line<P, M>
impl<P: PartialEq, M: PartialEq> PartialEq for Line<P, M>
impl<P: PartialEq, M: PartialEq> StructuralPartialEq for Line<P, M>
Auto Trait Implementations§
impl<P, M> Freeze for Line<P, M>where
P: Freeze,
impl<P, M> RefUnwindSafe for Line<P, M>where
P: RefUnwindSafe,
M: RefUnwindSafe,
impl<P, M> Send for Line<P, M>
impl<P, M> Sync for Line<P, M>
impl<P, M> Unpin for Line<P, M>
impl<P, M> UnsafeUnpin for Line<P, M>where
P: UnsafeUnpin,
impl<P, M> UnwindSafe for Line<P, M>where
P: UnwindSafe,
M: 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