Enum glfw::JoystickEvent
source · #[repr(i32)]
pub enum JoystickEvent {
Connected,
Disconnected,
}
Expand description
Joystick events.
Variants§
Trait Implementations§
source§impl Clone for JoystickEvent
impl Clone for JoystickEvent
source§fn clone(&self) -> JoystickEvent
fn clone(&self) -> JoystickEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JoystickEvent
impl Debug for JoystickEvent
source§impl Hash for JoystickEvent
impl Hash for JoystickEvent
source§impl Ord for JoystickEvent
impl Ord for JoystickEvent
source§fn cmp(&self, other: &JoystickEvent) -> Ordering
fn cmp(&self, other: &JoystickEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<JoystickEvent> for JoystickEvent
impl PartialEq<JoystickEvent> for JoystickEvent
source§fn eq(&self, other: &JoystickEvent) -> bool
fn eq(&self, other: &JoystickEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<JoystickEvent> for JoystickEvent
impl PartialOrd<JoystickEvent> for JoystickEvent
source§fn partial_cmp(&self, other: &JoystickEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &JoystickEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more