Enum dfhack_proto::messages::FrontType
source · pub enum FrontType {
FRONT_NONE,
FRONT_WARM,
FRONT_COLD,
FRONT_OCCLUDED,
}Variants§
Trait Implementations§
source§impl PartialEq<FrontType> for FrontType
impl PartialEq<FrontType> for FrontType
source§impl ProtobufEnum for FrontType
impl ProtobufEnum for FrontType
source§fn from_i32(value: i32) -> Option<FrontType>
fn from_i32(value: i32) -> Option<FrontType>
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 FrontType
impl ProtobufValue for FrontType
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?