pub struct OpenRgbDevice {
pub name: String,
pub kind: OpenRgbDeviceKind,
pub vid: u16,
pub pid: u16,
pub pid_symbol: String,
pub source_path: String,
pub source_symbol: String,
pub matrix_family: MatrixFamily,
pub transaction_id: u8,
pub matrix: [u16; 2],
pub zones: Vec<String>,
pub layout: Option<String>,
}Fields§
§name: String§kind: OpenRgbDeviceKind§vid: u16§pid: u16§pid_symbol: String§source_path: String§source_symbol: String§matrix_family: MatrixFamily§transaction_id: u8§matrix: [u16; 2]§zones: Vec<String>§layout: Option<String>Trait Implementations§
Source§impl Clone for OpenRgbDevice
impl Clone for OpenRgbDevice
Source§fn clone(&self) -> OpenRgbDevice
fn clone(&self) -> OpenRgbDevice
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 moreSource§impl Debug for OpenRgbDevice
impl Debug for OpenRgbDevice
Source§impl<'de> Deserialize<'de> for OpenRgbDevice
impl<'de> Deserialize<'de> for OpenRgbDevice
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
Auto Trait Implementations§
impl Freeze for OpenRgbDevice
impl RefUnwindSafe for OpenRgbDevice
impl Send for OpenRgbDevice
impl Sync for OpenRgbDevice
impl Unpin for OpenRgbDevice
impl UnsafeUnpin for OpenRgbDevice
impl UnwindSafe for OpenRgbDevice
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