#[repr(C)]pub struct CorsairDeviceInfo {
pub type_: CorsairDeviceType,
pub id: CorsairDeviceId,
pub serial: [c_char; 128],
pub model: [c_char; 128],
pub ledCount: c_int,
pub channelCount: c_int,
}Fields§
§type_: CorsairDeviceType§id: CorsairDeviceId§serial: [c_char; 128]§model: [c_char; 128]§ledCount: c_int§channelCount: c_intTrait 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 moreSource§impl Debug for CorsairDeviceInfo
impl Debug for CorsairDeviceInfo
impl Copy for CorsairDeviceInfo
Auto Trait Implementations§
impl Freeze for CorsairDeviceInfo
impl RefUnwindSafe for CorsairDeviceInfo
impl Send for CorsairDeviceInfo
impl Sync 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