pub enum GLProfile {
Core,
Compatibility,
GLES,
Unknown(i32),
}
Variants§
Core
OpenGL core profile - deprecated functions are disabled
Compatibility
OpenGL compatibility profile - deprecated functions are allowed
GLES
OpenGL ES profile - only a subset of the base OpenGL functionality is available
Unknown(i32)
Unknown profile - SDL will tend to return 0 if you ask when no particular profile has been defined or requested.
Trait Implementations§
impl Copy for GLProfile
impl Eq for GLProfile
impl StructuralPartialEq for GLProfile
Auto Trait Implementations§
impl Freeze for GLProfile
impl RefUnwindSafe for GLProfile
impl Send for GLProfile
impl Sync for GLProfile
impl Unpin for GLProfile
impl UnwindSafe for 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)