#[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
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