pub enum DebugGameState {
show_map = 1,
control_enemy = 2,
food = 3,
free = 4,
all_resources = 5,
god = 6,
minerals = 7,
gas = 8,
cooldown = 9,
tech_tree = 10,
upgrade = 11,
fast_build = 12,
}
Variants§
show_map = 1
control_enemy = 2
food = 3
free = 4
all_resources = 5
god = 6
minerals = 7
gas = 8
cooldown = 9
tech_tree = 10
upgrade = 11
fast_build = 12
Trait Implementations§
Source§impl Clone for DebugGameState
impl Clone for DebugGameState
Source§fn clone(&self) -> DebugGameState
fn clone(&self) -> DebugGameState
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 DebugGameState
impl Debug for DebugGameState
Source§impl Default for DebugGameState
impl Default for DebugGameState
Source§impl Hash for DebugGameState
impl Hash for DebugGameState
Source§impl PartialEq for DebugGameState
impl PartialEq for DebugGameState
Source§impl ProtobufEnum for DebugGameState
impl ProtobufEnum for DebugGameState
Source§fn from_i32(value: i32) -> Option<DebugGameState>
fn from_i32(value: i32) -> Option<DebugGameState>
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 DebugGameState
impl ProtobufValue for DebugGameState
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?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for DebugGameState
impl Eq for DebugGameState
impl StructuralPartialEq for DebugGameState
Auto Trait Implementations§
impl Freeze for DebugGameState
impl RefUnwindSafe for DebugGameState
impl Send for DebugGameState
impl Sync for DebugGameState
impl Unpin for DebugGameState
impl UnwindSafe for DebugGameState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)