#[repr(u32)]pub enum SDL_GLContextResetNotification {
SDL_GL_CONTEXT_RESET_NO_NOTIFICATION = 0,
SDL_GL_CONTEXT_RESET_LOSE_CONTEXT = 1,
}
Variants§
Trait Implementations§
source§impl Clone for SDL_GLContextResetNotification
impl Clone for SDL_GLContextResetNotification
source§fn clone(&self) -> SDL_GLContextResetNotification
fn clone(&self) -> SDL_GLContextResetNotification
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 PartialEq for SDL_GLContextResetNotification
impl PartialEq for SDL_GLContextResetNotification
source§fn eq(&self, other: &SDL_GLContextResetNotification) -> bool
fn eq(&self, other: &SDL_GLContextResetNotification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_GLContextResetNotification
impl Eq for SDL_GLContextResetNotification
impl StructuralPartialEq for SDL_GLContextResetNotification
Auto Trait Implementations§
impl Freeze for SDL_GLContextResetNotification
impl RefUnwindSafe for SDL_GLContextResetNotification
impl Send for SDL_GLContextResetNotification
impl Sync for SDL_GLContextResetNotification
impl Unpin for SDL_GLContextResetNotification
impl UnwindSafe for SDL_GLContextResetNotification
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