pub enum GlProfile {
Core,
Compatibility,
}
Expand description
Describes the requested OpenGL context profiles.
Variants§
Core
Include all the future-compatible functions and definitions.
The requested OpenGL version with ContextApi
should be at least 3.3.
Compatibility
Include all the immediate more functions and definitions.
Use it only when it’s really needed, otherwise use Self::Core
.
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