pub struct Joypad {
pub buttons: JoypadBtnState,
pub concurrent_dpad: bool,
pub index: u8,
pub strobe: bool,
}Fields§
§concurrent_dpad: bool§index: u8§strobe: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Joypad
impl<'de> Deserialize<'de> for Joypad
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Joypad
Auto Trait Implementations§
impl Freeze for Joypad
impl RefUnwindSafe for Joypad
impl Send for Joypad
impl Sync for Joypad
impl Unpin for Joypad
impl UnwindSafe for Joypad
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