#[repr(C)]pub struct Sticks {
pub l: [i16; 2],
pub r: [i16; 2],
pub dead_zone: u8,
}
Expand description
左右スティック
Fields§
§l: [i16; 2]
左スティック
r: [i16; 2]
右スティック
dead_zone: u8
デッドゾーン [%]
Trait Implementations§
impl Copy for Sticks
impl Eq for Sticks
impl StructuralPartialEq for Sticks
Auto Trait Implementations§
impl Freeze for Sticks
impl RefUnwindSafe for Sticks
impl Send for Sticks
impl Sync for Sticks
impl Unpin for Sticks
impl UnwindSafe for Sticks
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