Struct libcwiid_sys::cwiid_state
source · #[repr(C)]pub struct cwiid_state {
pub rpt_mode: u8,
pub led: u8,
pub rumble: u8,
pub battery: u8,
pub buttons: u16,
pub acc: [u8; 3],
pub ir_src: [cwiid_ir_src; 4],
pub ext_type: cwiid_ext_type,
pub ext: ext_state,
pub error: cwiid_error,
}Fields§
§rpt_mode: u8§led: u8§rumble: u8§battery: u8§acc: [u8; 3]§ir_src: [cwiid_ir_src; 4]§ext_type: cwiid_ext_type§ext: ext_state§error: cwiid_errorTrait Implementations§
source§impl Clone for cwiid_state
impl Clone for cwiid_state
source§fn clone(&self) -> cwiid_state
fn clone(&self) -> cwiid_state
Returns a copy 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 more