pub struct Joysticks {
pub left: Joystick,
pub right: Joystick,
}Expand description
Stores both joysticks on the controller.
Fields§
§left: JoystickLeft joystick
right: JoystickRight joystick
Trait Implementations§
impl Copy for Joysticks
impl StructuralPartialEq for Joysticks
Auto Trait Implementations§
impl Freeze for Joysticks
impl RefUnwindSafe for Joysticks
impl Send for Joysticks
impl Sync for Joysticks
impl Unpin for Joysticks
impl UnwindSafe for Joysticks
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