pub struct DPadState {
pub up: bool,
pub down: bool,
pub left: bool,
pub right: bool,
}Fields§
§up: bool§down: bool§left: bool§right: boolTrait Implementations§
impl Copy for DPadState
Auto Trait Implementations§
impl Freeze for DPadState
impl RefUnwindSafe for DPadState
impl Send for DPadState
impl Sync for DPadState
impl Unpin for DPadState
impl UnwindSafe for DPadState
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