#[repr(C)]pub struct sfJoystickButtonEvent {
pub type_: sfEventType,
pub joystickId: c_uint,
pub button: c_uint,
}
Fields§
§type_: sfEventType
§joystickId: c_uint
Trait Implementations§
Source§impl Clone for sfJoystickButtonEvent
impl Clone for sfJoystickButtonEvent
Source§fn clone(&self) -> sfJoystickButtonEvent
fn clone(&self) -> sfJoystickButtonEvent
Returns a duplicate 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 sfJoystickButtonEvent
impl Debug for sfJoystickButtonEvent
Source§impl Hash for sfJoystickButtonEvent
impl Hash for sfJoystickButtonEvent
Source§impl Ord for sfJoystickButtonEvent
impl Ord for sfJoystickButtonEvent
Source§fn cmp(&self, other: &sfJoystickButtonEvent) -> Ordering
fn cmp(&self, other: &sfJoystickButtonEvent) -> 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 for sfJoystickButtonEvent
impl PartialEq for sfJoystickButtonEvent
Source§impl PartialOrd for sfJoystickButtonEvent
impl PartialOrd for sfJoystickButtonEvent
impl Copy for sfJoystickButtonEvent
impl Eq for sfJoystickButtonEvent
impl StructuralPartialEq for sfJoystickButtonEvent
Auto Trait Implementations§
impl Freeze for sfJoystickButtonEvent
impl RefUnwindSafe for sfJoystickButtonEvent
impl Send for sfJoystickButtonEvent
impl Sync for sfJoystickButtonEvent
impl Unpin for sfJoystickButtonEvent
impl UnwindSafe for sfJoystickButtonEvent
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