pub enum InteractAction {
StartDigging,
StopDigging,
DiggingCompleted,
Place,
Use,
Activate,
}
Variants§
Trait Implementations§
Source§impl Clone for InteractAction
impl Clone for InteractAction
Source§fn clone(&self) -> InteractAction
fn clone(&self) -> InteractAction
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InteractAction
impl Debug for InteractAction
Source§impl Deserialize for InteractAction
impl Deserialize for InteractAction
Source§type Output = InteractAction
type Output = InteractAction
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for InteractAction
impl PartialEq for InteractAction
Source§impl Serialize for InteractAction
impl Serialize for InteractAction
type Input = InteractAction
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for InteractAction
Auto Trait Implementations§
impl Freeze for InteractAction
impl RefUnwindSafe for InteractAction
impl Send for InteractAction
impl Sync for InteractAction
impl Unpin for InteractAction
impl UnwindSafe for InteractAction
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