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