Enum sdl2_sys::SDL_GLprofile
source · #[repr(u32)]
pub enum SDL_GLprofile {
SDL_GL_CONTEXT_PROFILE_CORE,
SDL_GL_CONTEXT_PROFILE_COMPATIBILITY,
SDL_GL_CONTEXT_PROFILE_ES,
}
Variants
SDL_GL_CONTEXT_PROFILE_CORE
SDL_GL_CONTEXT_PROFILE_COMPATIBILITY
SDL_GL_CONTEXT_PROFILE_ES
< GLX_CONTEXT_ES2_PROFILE_BIT_EXT
Trait Implementations
sourceimpl Clone for SDL_GLprofile
impl Clone for SDL_GLprofile
sourcefn clone(&self) -> SDL_GLprofile
fn clone(&self) -> SDL_GLprofile
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 moresourceimpl Debug for SDL_GLprofile
impl Debug for SDL_GLprofile
sourceimpl Hash for SDL_GLprofile
impl Hash for SDL_GLprofile
sourceimpl PartialEq<SDL_GLprofile> for SDL_GLprofile
impl PartialEq<SDL_GLprofile> for SDL_GLprofile
sourcefn eq(&self, other: &SDL_GLprofile) -> bool
fn eq(&self, other: &SDL_GLprofile) -> bool
impl Copy for SDL_GLprofile
impl Eq for SDL_GLprofile
impl StructuralEq for SDL_GLprofile
impl StructuralPartialEq for SDL_GLprofile
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more