pub struct Nes { /* private fields */ }Expand description
An input type similar to a Nintendo Entertainment System controller, has a dpad and 2 primary buttons. Also has start + select.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nes
impl<'de> Deserialize<'de> for Nes
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
Source§impl InputCombine for Nes
impl InputCombine for Nes
Source§impl InputConvert for Nes
impl InputConvert for Nes
fn convert(&self, device_type: InputDeviceType) -> Option<InputDevice>
Auto Trait Implementations§
impl Freeze for Nes
impl RefUnwindSafe for Nes
impl Send for Nes
impl Sync for Nes
impl Unpin for Nes
impl UnsafeUnpin for Nes
impl UnwindSafe for Nes
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