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 StructuralEq for GLProfile
impl StructuralPartialEq for GLProfile
Auto Trait Implementations
impl RefUnwindSafe for GLProfile
impl Send for GLProfile
impl Sync for GLProfile
impl Unpin for GLProfile
impl UnwindSafe for 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