Enum dfhack_proto::messages::PatternType
source · pub enum PatternType {
MONOTONE,
STRIPES,
IRIS_EYE,
SPOTS,
PUPIL_EYE,
MOTTLED,
}Variants§
Trait Implementations§
source§impl Clone for PatternType
impl Clone for PatternType
source§fn clone(&self) -> PatternType
fn clone(&self) -> PatternType
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 PatternType
impl Debug for PatternType
source§impl Default for PatternType
impl Default for PatternType
source§impl Enum for PatternType
impl Enum for PatternType
source§fn from_i32(value: i32) -> Option<PatternType>
fn from_i32(value: i32) -> Option<PatternType>
Try to create an enum from
i32 value.
Return None if value is unknown.source§const VALUES: &'static [PatternType] = _
const VALUES: &'static [PatternType] = _
All enum values for enum type.
source§impl EnumFull for PatternType
impl EnumFull for PatternType
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 PatternType
impl Hash for PatternType
source§impl PartialEq<PatternType> for PatternType
impl PartialEq<PatternType> for PatternType
source§fn eq(&self, other: &PatternType) -> bool
fn eq(&self, other: &PatternType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PatternType
impl Eq for PatternType
impl StructuralEq for PatternType
impl StructuralPartialEq for PatternType
Auto Trait Implementations§
impl RefUnwindSafe for PatternType
impl Send for PatternType
impl Sync for PatternType
impl Unpin for PatternType
impl UnwindSafe for PatternType
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