pub enum GLVersion {
Major(u8),
MajorMinor(u8, u8),
}
Expand description
Describes the OpenGL version that is requested when a context is created.
Variants§
Major(u8)
Request a specific major version The minor version is automatically selected.
MajorMinor(u8, u8)
Request a specific major and minor version version.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GLVersion
impl RefUnwindSafe for GLVersion
impl Send for GLVersion
impl Sync for GLVersion
impl Unpin for GLVersion
impl UnwindSafe for GLVersion
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