pub enum OpenRgbDeviceKind {
Show 14 variants
Accessory,
Cooler,
Gpu,
Headset,
HeadsetStand,
Keyboard,
Keypad,
Laptop,
LedStrip,
Light,
Microphone,
Mouse,
MouseMat,
Speaker,
}Variants§
Accessory
Cooler
Gpu
Headset
HeadsetStand
Keyboard
Keypad
Laptop
LedStrip
Light
Microphone
Mouse
MouseMat
Speaker
Implementations§
Trait Implementations§
Source§impl Clone for OpenRgbDeviceKind
impl Clone for OpenRgbDeviceKind
Source§fn clone(&self) -> OpenRgbDeviceKind
fn clone(&self) -> OpenRgbDeviceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpenRgbDeviceKind
Source§impl Debug for OpenRgbDeviceKind
impl Debug for OpenRgbDeviceKind
Source§impl<'de> Deserialize<'de> for OpenRgbDeviceKind
impl<'de> Deserialize<'de> for OpenRgbDeviceKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OpenRgbDeviceKind
Source§impl Ord for OpenRgbDeviceKind
impl Ord for OpenRgbDeviceKind
Source§fn cmp(&self, other: &OpenRgbDeviceKind) -> Ordering
fn cmp(&self, other: &OpenRgbDeviceKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OpenRgbDeviceKind
impl PartialEq for OpenRgbDeviceKind
Source§fn eq(&self, other: &OpenRgbDeviceKind) -> bool
fn eq(&self, other: &OpenRgbDeviceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OpenRgbDeviceKind
impl PartialOrd for OpenRgbDeviceKind
impl StructuralPartialEq for OpenRgbDeviceKind
Auto Trait Implementations§
impl Freeze for OpenRgbDeviceKind
impl RefUnwindSafe for OpenRgbDeviceKind
impl Send for OpenRgbDeviceKind
impl Sync for OpenRgbDeviceKind
impl Unpin for OpenRgbDeviceKind
impl UnsafeUnpin for OpenRgbDeviceKind
impl UnwindSafe for OpenRgbDeviceKind
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