pub enum PlayerAction {
StartedDigging,
CancelledDigging,
FinishedDigging,
DropItemStack,
DropItem,
FinishUsingItem,
SwapItem,
}Expand description
Действие игрока
Variants§
Trait Implementations§
Source§impl Buffer for PlayerAction
impl Buffer for PlayerAction
Source§impl Clone for PlayerAction
impl Clone for PlayerAction
Source§fn clone(&self) -> PlayerAction
fn clone(&self) -> PlayerAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayerAction
impl Debug for PlayerAction
Source§impl PartialEq for PlayerAction
impl PartialEq for PlayerAction
Source§fn eq(&self, other: &PlayerAction) -> bool
fn eq(&self, other: &PlayerAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PlayerAction
impl PartialOrd for PlayerAction
impl Copy for PlayerAction
impl StructuralPartialEq for PlayerAction
Auto Trait Implementations§
impl Freeze for PlayerAction
impl RefUnwindSafe for PlayerAction
impl Send for PlayerAction
impl Sync for PlayerAction
impl Unpin for PlayerAction
impl UnsafeUnpin for PlayerAction
impl UnwindSafe for PlayerAction
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