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 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 ==.source§impl ProtobufEnum for CarefulMovementType
impl ProtobufEnum for CarefulMovementType
source§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§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
source§impl ProtobufValue for CarefulMovementType
impl ProtobufValue for CarefulMovementType
source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?