pub struct StepsPattern { /* private fields */ }Expand description
Walks the steps given, until one step leads outside the grid.
Implementations§
Trait Implementations§
Source§impl Pattern for StepsPattern
impl Pattern for StepsPattern
Source§fn next_action(&mut self) -> Option<Action>
fn next_action(&mut self) -> Option<Action>
Returns the next
Action or None if there are no more Action.Source§fn next_action_peek(&self) -> Option<Action>
fn next_action_peek(&self) -> Option<Action>
Peeks in the next
Action and returns it or None if there is no more Action.Auto Trait Implementations§
impl Freeze for StepsPattern
impl RefUnwindSafe for StepsPattern
impl Send for StepsPattern
impl Sync for StepsPattern
impl Unpin for StepsPattern
impl UnwindSafe for StepsPattern
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