#[repr(transparent)]pub struct SDL_EventType(pub i32);Expand description
The types of events that can be delivered.
Tuple Fields§
§0: i32Trait Implementations§
Source§impl Clone for SDL_EventType
impl Clone for SDL_EventType
Source§fn clone(&self) -> SDL_EventType
fn clone(&self) -> SDL_EventType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SDL_EventType
impl Debug for SDL_EventType
Source§impl Default for SDL_EventType
impl Default for SDL_EventType
Source§fn default() -> SDL_EventType
fn default() -> SDL_EventType
Returns the “default value” for a type. Read more
Source§impl Hash for SDL_EventType
impl Hash for SDL_EventType
Source§impl Ord for SDL_EventType
impl Ord for SDL_EventType
Source§fn cmp(&self, other: &SDL_EventType) -> Ordering
fn cmp(&self, other: &SDL_EventType) -> Ordering
1.21.0 (const: unstable) · 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 SDL_EventType
impl PartialEq for SDL_EventType
Source§fn eq(&self, other: &SDL_EventType) -> bool
fn eq(&self, other: &SDL_EventType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SDL_EventType
impl PartialOrd for SDL_EventType
impl Copy for SDL_EventType
impl Eq for SDL_EventType
impl StructuralPartialEq for SDL_EventType
Auto Trait Implementations§
impl Freeze for SDL_EventType
impl RefUnwindSafe for SDL_EventType
impl Send for SDL_EventType
impl Sync for SDL_EventType
impl Unpin for SDL_EventType
impl UnsafeUnpin for SDL_EventType
impl UnwindSafe for SDL_EventType
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