pub enum MoveType {
Drop,
Bounce,
None,
}Expand description
Designates the type of move.
A move can either be a drop or a bounce. A drop is a move that has three stages: the staring position, a piece that is replaced, and where that piece is dropped. A bounce is a move that only has two stages: the starting position and the ending position.
Variants§
Trait Implementations§
impl Copy for MoveType
impl StructuralPartialEq for MoveType
Auto Trait Implementations§
impl Freeze for MoveType
impl RefUnwindSafe for MoveType
impl Send for MoveType
impl Sync for MoveType
impl Unpin for MoveType
impl UnsafeUnpin for MoveType
impl UnwindSafe for MoveType
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