Struct nnsdk::nn::hid::NpadGcState
source · #[repr(C)]pub struct NpadGcState {
pub updateCount: i64,
pub Buttons: u64,
pub LStickX: i32,
pub LStickY: i32,
pub RStickX: i32,
pub RStickY: i32,
pub Flags: u32,
pub LTrigger: u32,
pub RTrigger: u32,
}
Fields§
§updateCount: i64
§Buttons: u64
§LStickX: i32
§LStickY: i32
§RStickX: i32
§RStickY: i32
§Flags: u32
§LTrigger: u32
§RTrigger: u32
Trait Implementations§
source§impl Clone for NpadGcState
impl Clone for NpadGcState
source§fn clone(&self) -> NpadGcState
fn clone(&self) -> NpadGcState
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 moresource§impl Debug for NpadGcState
impl Debug for NpadGcState
source§impl Default for NpadGcState
impl Default for NpadGcState
source§fn default() -> NpadGcState
fn default() -> NpadGcState
Returns the “default value” for a type. Read more