Enum dfhack_proto::messages::MiscMoveType
source · pub enum MiscMoveType {
SET_CLIMB,
SET_STAND,
SET_CANCEL,
}Variants§
Trait Implementations§
source§impl Clone for MiscMoveType
impl Clone for MiscMoveType
source§fn clone(&self) -> MiscMoveType
fn clone(&self) -> MiscMoveType
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 MiscMoveType
impl Debug for MiscMoveType
source§impl Default for MiscMoveType
impl Default for MiscMoveType
source§impl Hash for MiscMoveType
impl Hash for MiscMoveType
source§impl PartialEq<MiscMoveType> for MiscMoveType
impl PartialEq<MiscMoveType> for MiscMoveType
source§fn eq(&self, other: &MiscMoveType) -> bool
fn eq(&self, other: &MiscMoveType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ProtobufEnum for MiscMoveType
impl ProtobufEnum for MiscMoveType
source§fn from_i32(value: i32) -> Option<MiscMoveType>
fn from_i32(value: i32) -> Option<MiscMoveType>
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 MiscMoveType
impl ProtobufValue for MiscMoveType
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?