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