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