pub struct MoveRef<'g> { /* private fields */ }Expand description
An immutable reference to a move in a game.
Implementations§
Source§impl<'g> MoveRef<'g>
Traversal API.
impl<'g> MoveRef<'g>
Traversal API.
pub fn previous(&self) -> PositionRef<'g>
pub const fn position(&self) -> PositionRef<'g>
Trait Implementations§
Auto Trait Implementations§
impl<'g> Freeze for MoveRef<'g>
impl<'g> RefUnwindSafe for MoveRef<'g>
impl<'g> Send for MoveRef<'g>
impl<'g> Sync for MoveRef<'g>
impl<'g> Unpin for MoveRef<'g>
impl<'g> UnsafeUnpin for MoveRef<'g>
impl<'g> UnwindSafe for MoveRef<'g>
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