pub enum CarefulMovementType {
Show 13 variants
DEFAULT_MOVEMENT,
RELEASE_ITEM_HOLD,
RELEASE_TILE_HOLD,
ATTACK_CREATURE,
HOLD_TILE,
MOVE,
CLIMB,
HOLD_ITEM,
BUILDING_INTERACT,
ITEM_INTERACT,
ITEM_INTERACT_GUIDE,
ITEM_INTERACT_RIDE,
ITEM_INTERACT_PUSH,
}Variants§
DEFAULT_MOVEMENT
RELEASE_ITEM_HOLD
RELEASE_TILE_HOLD
ATTACK_CREATURE
HOLD_TILE
MOVE
CLIMB
HOLD_ITEM
BUILDING_INTERACT
ITEM_INTERACT
ITEM_INTERACT_GUIDE
ITEM_INTERACT_RIDE
ITEM_INTERACT_PUSH
Trait Implementations§
source§impl Clone for CarefulMovementType
impl Clone for CarefulMovementType
source§fn clone(&self) -> CarefulMovementType
fn clone(&self) -> CarefulMovementType
Returns a copy of the value. Read more
1.0.0 · 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 CarefulMovementType
impl Debug for CarefulMovementType
source§impl Default for CarefulMovementType
impl Default for CarefulMovementType
source§impl Enum for CarefulMovementType
impl Enum for CarefulMovementType
source§const NAME: &'static str = "CarefulMovementType"
const NAME: &'static str = "CarefulMovementType"
Enum name as specified in
.proto file. Read moresource§fn from_i32(value: i32) -> Option<CarefulMovementType>
fn from_i32(value: i32) -> Option<CarefulMovementType>
Try to create an enum from
i32 value.
Return None if value is unknown.source§const VALUES: &'static [CarefulMovementType] = _
const VALUES: &'static [CarefulMovementType] = _
All enum values for enum type.
source§impl EnumFull for CarefulMovementType
impl EnumFull for CarefulMovementType
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for CarefulMovementType
impl Hash for CarefulMovementType
source§impl PartialEq<CarefulMovementType> for CarefulMovementType
impl PartialEq<CarefulMovementType> for CarefulMovementType
source§fn eq(&self, other: &CarefulMovementType) -> bool
fn eq(&self, other: &CarefulMovementType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CarefulMovementType
impl Eq for CarefulMovementType
impl StructuralEq for CarefulMovementType
impl StructuralPartialEq for CarefulMovementType
Auto Trait Implementations§
impl RefUnwindSafe for CarefulMovementType
impl Send for CarefulMovementType
impl Sync for CarefulMovementType
impl Unpin for CarefulMovementType
impl UnwindSafe for CarefulMovementType
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