#[repr(C)]pub struct CorsairKeyEvent {
pub deviceId: CorsairDeviceId,
pub keyId: CorsairKeyId,
pub isPressed: bool,
}Fields§
§deviceId: CorsairDeviceId§keyId: CorsairKeyId§isPressed: boolTrait Implementations§
Source§impl Clone for CorsairKeyEvent
impl Clone for CorsairKeyEvent
Source§fn clone(&self) -> CorsairKeyEvent
fn clone(&self) -> CorsairKeyEvent
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 CorsairKeyEvent
Auto Trait Implementations§
impl Freeze for CorsairKeyEvent
impl RefUnwindSafe for CorsairKeyEvent
impl Send for CorsairKeyEvent
impl Sync for CorsairKeyEvent
impl Unpin for CorsairKeyEvent
impl UnwindSafe for CorsairKeyEvent
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