pub enum DebugEndGame_EndResult {
Surrender = 1,
DeclareVictory = 2,
}Variants§
Trait Implementations§
Source§impl Clone for DebugEndGame_EndResult
impl Clone for DebugEndGame_EndResult
Source§fn clone(&self) -> DebugEndGame_EndResult
fn clone(&self) -> DebugEndGame_EndResult
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 DebugEndGame_EndResult
impl Debug for DebugEndGame_EndResult
Source§impl Default for DebugEndGame_EndResult
impl Default for DebugEndGame_EndResult
Source§impl Hash for DebugEndGame_EndResult
impl Hash for DebugEndGame_EndResult
Source§impl PartialEq for DebugEndGame_EndResult
impl PartialEq for DebugEndGame_EndResult
Source§impl ProtobufEnum for DebugEndGame_EndResult
impl ProtobufEnum for DebugEndGame_EndResult
Source§fn from_i32(value: i32) -> Option<DebugEndGame_EndResult>
fn from_i32(value: i32) -> Option<DebugEndGame_EndResult>
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 DebugEndGame_EndResult
impl ProtobufValue for DebugEndGame_EndResult
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 DebugEndGame_EndResult
impl Eq for DebugEndGame_EndResult
impl StructuralPartialEq for DebugEndGame_EndResult
Auto Trait Implementations§
impl Freeze for DebugEndGame_EndResult
impl RefUnwindSafe for DebugEndGame_EndResult
impl Send for DebugEndGame_EndResult
impl Sync for DebugEndGame_EndResult
impl Unpin for DebugEndGame_EndResult
impl UnwindSafe for DebugEndGame_EndResult
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)