pub struct GamepadId(pub u32);Expand description
Opaque gamepad handle. Backend-local index, stable for the connection
lifetime. Survives across frames; invalid after GamepadEvent::Disconnected.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for GamepadId
impl Eq for GamepadId
impl StructuralPartialEq for GamepadId
Auto Trait Implementations§
impl Freeze for GamepadId
impl RefUnwindSafe for GamepadId
impl Send for GamepadId
impl Sync for GamepadId
impl Unpin for GamepadId
impl UnsafeUnpin for GamepadId
impl UnwindSafe for GamepadId
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