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 Enum for LiquidType
impl Enum 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§const VALUES: &'static [LiquidType] = _
const VALUES: &'static [LiquidType] = _
All enum values for enum type.
source§impl EnumFull for LiquidType
impl EnumFull for LiquidType
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 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 ==.impl Copy for LiquidType
impl Eq for LiquidType
impl StructuralEq for LiquidType
impl StructuralPartialEq for LiquidType
Auto Trait Implementations§
impl RefUnwindSafe for LiquidType
impl Send for LiquidType
impl Sync for LiquidType
impl Unpin for LiquidType
impl UnwindSafe for LiquidType
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