pub enum CarefulMovementType {
Show 13 variants
DEFAULT_MOVEMENT = 0,
RELEASE_ITEM_HOLD = 1,
RELEASE_TILE_HOLD = 2,
ATTACK_CREATURE = 3,
HOLD_TILE = 4,
MOVE = 5,
CLIMB = 6,
HOLD_ITEM = 7,
BUILDING_INTERACT = 8,
ITEM_INTERACT = 9,
ITEM_INTERACT_GUIDE = 10,
ITEM_INTERACT_RIDE = 11,
ITEM_INTERACT_PUSH = 12,
}Variants§
DEFAULT_MOVEMENT = 0
RELEASE_ITEM_HOLD = 1
RELEASE_TILE_HOLD = 2
ATTACK_CREATURE = 3
HOLD_TILE = 4
MOVE = 5
CLIMB = 6
HOLD_ITEM = 7
BUILDING_INTERACT = 8
ITEM_INTERACT = 9
ITEM_INTERACT_GUIDE = 10
ITEM_INTERACT_RIDE = 11
ITEM_INTERACT_PUSH = 12
Trait Implementations§
Source§impl Clone for CarefulMovementType
impl Clone for CarefulMovementType
Source§fn clone(&self) -> CarefulMovementType
fn clone(&self) -> CarefulMovementType
Returns a duplicate 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§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 for CarefulMovementType
impl PartialEq for CarefulMovementType
impl Copy for CarefulMovementType
impl Eq for CarefulMovementType
impl StructuralPartialEq for CarefulMovementType
Auto Trait Implementations§
impl Freeze for CarefulMovementType
impl RefUnwindSafe for CarefulMovementType
impl Send for CarefulMovementType
impl Sync for CarefulMovementType
impl Unpin for CarefulMovementType
impl UnsafeUnpin 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