Enum sdl2_sys::SDL_GLcontextFlag
source · #[repr(u32)]pub enum SDL_GLcontextFlag {
SDL_GL_CONTEXT_DEBUG_FLAG = 1,
SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 2,
SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = 4,
SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = 8,
}
Variants§
SDL_GL_CONTEXT_DEBUG_FLAG = 1
SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 2
SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = 4
SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = 8
Trait Implementations§
source§impl Clone for SDL_GLcontextFlag
impl Clone for SDL_GLcontextFlag
source§fn clone(&self) -> SDL_GLcontextFlag
fn clone(&self) -> SDL_GLcontextFlag
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 Hash for SDL_GLcontextFlag
impl Hash for SDL_GLcontextFlag
source§impl PartialEq for SDL_GLcontextFlag
impl PartialEq for SDL_GLcontextFlag
source§fn eq(&self, other: &SDL_GLcontextFlag) -> bool
fn eq(&self, other: &SDL_GLcontextFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_GLcontextFlag
impl Eq for SDL_GLcontextFlag
impl StructuralPartialEq for SDL_GLcontextFlag
Auto Trait Implementations§
impl Freeze for SDL_GLcontextFlag
impl RefUnwindSafe for SDL_GLcontextFlag
impl Send for SDL_GLcontextFlag
impl Sync for SDL_GLcontextFlag
impl Unpin for SDL_GLcontextFlag
impl UnwindSafe for SDL_GLcontextFlag
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