Enum sdl2_sys::SDL_DisplayEventID
source · [−]#[repr(u32)]
pub enum SDL_DisplayEventID {
SDL_DISPLAYEVENT_NONE,
SDL_DISPLAYEVENT_ORIENTATION,
SDL_DISPLAYEVENT_CONNECTED,
SDL_DISPLAYEVENT_DISCONNECTED,
}
Expand description
\brief Event subtype for display events
Variants
SDL_DISPLAYEVENT_NONE
< Never used
SDL_DISPLAYEVENT_ORIENTATION
< Display orientation has changed to data1
SDL_DISPLAYEVENT_CONNECTED
< Display has been added to the system
SDL_DISPLAYEVENT_DISCONNECTED
< Display has been removed from the system
Trait Implementations
sourceimpl Clone for SDL_DisplayEventID
impl Clone for SDL_DisplayEventID
sourcefn clone(&self) -> SDL_DisplayEventID
fn clone(&self) -> SDL_DisplayEventID
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_DisplayEventID
impl Debug for SDL_DisplayEventID
sourceimpl Hash for SDL_DisplayEventID
impl Hash for SDL_DisplayEventID
impl Copy for SDL_DisplayEventID
impl Eq for SDL_DisplayEventID
impl StructuralEq for SDL_DisplayEventID
impl StructuralPartialEq for SDL_DisplayEventID
Auto Trait Implementations
impl RefUnwindSafe for SDL_DisplayEventID
impl Send for SDL_DisplayEventID
impl Sync for SDL_DisplayEventID
impl Unpin for SDL_DisplayEventID
impl UnwindSafe for SDL_DisplayEventID
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more