pub struct GamepadId(/* private fields */);
Expand description
Gamepad ID.
It’s not possible to create instance of this type directly, but you can obtain one from Gamepad
handle or any event. ID is valid for entire lifetime of Gilrs
context.
Trait Implementations§
source§impl PartialEq for GamepadId
impl PartialEq for GamepadId
impl Copy for GamepadId
impl Eq for GamepadId
impl StructuralEq for GamepadId
impl StructuralPartialEq for GamepadId
Auto Trait Implementations§
impl RefUnwindSafe for GamepadId
impl Send for GamepadId
impl Sync for GamepadId
impl Unpin 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