#[repr(C)]pub struct NpadButton {
pub value: i64,
}Expand description
Fields§
§value: i64Implementations§
Source§impl NpadButton
impl NpadButton
pub fn none() -> Self
pub fn a() -> Self
pub fn b() -> Self
pub fn x() -> Self
pub fn y() -> Self
pub fn stick_l() -> Self
pub fn stick_r() -> Self
pub fn l() -> Self
pub fn r() -> Self
pub fn zl() -> Self
pub fn zr() -> Self
pub fn plus() -> Self
pub fn minus() -> Self
pub fn left() -> Self
pub fn up() -> Self
pub fn right() -> Self
pub fn down() -> Self
pub fn stick_l_left() -> Self
pub fn stick_l_up() -> Self
pub fn stick_l_right() -> Self
pub fn stick_l_down() -> Self
pub fn stick_r_left() -> Self
pub fn stick_r_up() -> Self
pub fn stick_r_right() -> Self
pub fn stick_r_down() -> Self
pub fn left_sl() -> Self
pub fn left_sr() -> Self
pub fn right_sl() -> Self
pub fn right_sr() -> Self
Trait Implementations§
Source§impl ClassIdentity for NpadButton
impl ClassIdentity for NpadButton
Source§impl Clone for NpadButton
impl Clone for NpadButton
Source§fn clone(&self) -> NpadButton
fn clone(&self) -> NpadButton
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NpadButton
impl Debug for NpadButton
Source§impl PartialEq for NpadButton
impl PartialEq for NpadButton
impl Copy for NpadButton
impl Eq for NpadButton
impl StructuralPartialEq for NpadButton
Auto Trait Implementations§
impl Freeze for NpadButton
impl RefUnwindSafe for NpadButton
impl Send for NpadButton
impl Sync for NpadButton
impl Unpin for NpadButton
impl UnwindSafe for NpadButton
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)