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