#[repr(C)]pub struct CorsairDeviceInfo {
pub type_: CorsairDeviceType,
pub model: *const c_char,
pub physicalLayout: CorsairPhysicalLayout,
pub logicalLayout: CorsairLogicalLayout,
pub capsMask: c_int,
pub ledsCount: c_int,
pub channels: CorsairChannelsInfo,
pub deviceId: CorsairDeviceId,
}Fields§
§type_: CorsairDeviceType§model: *const c_char§physicalLayout: CorsairPhysicalLayout§logicalLayout: CorsairLogicalLayout§capsMask: c_int§ledsCount: c_int§channels: CorsairChannelsInfo§deviceId: CorsairDeviceIdTrait Implementations§
Source§impl Clone for CorsairDeviceInfo
impl Clone for CorsairDeviceInfo
Source§fn clone(&self) -> CorsairDeviceInfo
fn clone(&self) -> CorsairDeviceInfo
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 moreimpl Copy for CorsairDeviceInfo
impl Send for CorsairDeviceInfo
impl Sync for CorsairDeviceInfo
Auto Trait Implementations§
impl Freeze for CorsairDeviceInfo
impl RefUnwindSafe for CorsairDeviceInfo
impl Unpin for CorsairDeviceInfo
impl UnwindSafe for CorsairDeviceInfo
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