pub enum DPad {
Up,
Down,
Left,
Right,
}Variants§
Implementations§
Source§impl DPad
impl DPad
pub fn iter_variants() -> DPadVariants ⓘ
Trait Implementations§
impl Copy for DPad
impl Eq for DPad
impl Press for DPad
impl Release for DPad
impl StructuralPartialEq for DPad
Auto Trait Implementations§
impl Freeze for DPad
impl RefUnwindSafe for DPad
impl Send for DPad
impl Sync for DPad
impl Unpin for DPad
impl UnsafeUnpin for DPad
impl UnwindSafe for DPad
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