Enum dfhack_proto::messages::FogType
source · pub enum FogType {
FOG_NONE,
FOG_MIST,
FOG_NORMAL,
F0G_THICK,
}Variants§
Trait Implementations§
source§impl PartialEq<FogType> for FogType
impl PartialEq<FogType> for FogType
source§impl ProtobufEnum for FogType
impl ProtobufEnum for FogType
source§fn from_i32(value: i32) -> Option<FogType>
fn from_i32(value: i32) -> Option<FogType>
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 FogType
impl ProtobufValue for FogType
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?