pub enum ThingHappened {
FirstTurn,
PrevTurn,
NextTurn,
LastTurn,
Rotate(usize, f32),
Move(usize, f32, f32),
}
Variants§
FirstTurn
PrevTurn
NextTurn
LastTurn
Rotate(usize, f32)
We rotated the piece at usize to r
Move(usize, f32, f32)
We moved the piece at usize to x, y
Auto Trait Implementations§
impl Freeze for ThingHappened
impl RefUnwindSafe for ThingHappened
impl Send for ThingHappened
impl Sync for ThingHappened
impl Unpin for ThingHappened
impl UnwindSafe for ThingHappened
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