pub enum AIBuild {
RandomBuild = 1,
Rush = 2,
Timing = 3,
Power = 4,
Macro = 5,
Air = 6,
}
Variants§
Trait Implementations§
Source§impl ProtobufEnum for AIBuild
impl ProtobufEnum for AIBuild
Source§fn from_i32(value: i32) -> Option<AIBuild>
fn from_i32(value: i32) -> Option<AIBuild>
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 AIBuild
impl ProtobufValue for AIBuild
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 AIBuild
impl Eq for AIBuild
impl StructuralPartialEq for AIBuild
Auto Trait Implementations§
impl Freeze for AIBuild
impl RefUnwindSafe for AIBuild
impl Send for AIBuild
impl Sync for AIBuild
impl Unpin for AIBuild
impl UnwindSafe for AIBuild
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
)