#[repr(C)]pub struct CorsairLedColor {
pub ledId: CorsairLedId,
pub r: c_int,
pub g: c_int,
pub b: c_int,
}Fields§
§ledId: CorsairLedId§r: c_int§g: c_int§b: c_intTrait Implementations§
Source§impl Clone for CorsairLedColor
impl Clone for CorsairLedColor
Source§fn clone(&self) -> CorsairLedColor
fn clone(&self) -> CorsairLedColor
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 CorsairLedColor
impl Debug for CorsairLedColor
impl Copy for CorsairLedColor
Auto Trait Implementations§
impl Freeze for CorsairLedColor
impl RefUnwindSafe for CorsairLedColor
impl Send for CorsairLedColor
impl Sync for CorsairLedColor
impl Unpin for CorsairLedColor
impl UnwindSafe for CorsairLedColor
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