pub enum MoveKind {
Normal,
EnPassant,
UnPromotion(Option<Role>),
Uncapture(Role),
}Expand description
Enum representing the different kind of type an UnMove can be.
Variants§
Implementations§
Trait Implementations§
impl Copy for MoveKind
impl Eq for MoveKind
impl StructuralPartialEq for MoveKind
Auto Trait Implementations§
impl Freeze for MoveKind
impl RefUnwindSafe for MoveKind
impl Send for MoveKind
impl Sync for MoveKind
impl Unpin for MoveKind
impl UnwindSafe for MoveKind
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