pub enum OpenGlApi {
Desktop,
ES,
}Expand description
Represents the two different variants of OpenGL.
Contained within OpenGlVersion.
Variants§
Desktop
“Normal” OpenGL, which usually means the environment is the desktop.
ES
OpenGL ES, which usually means the environment is mobile.
Trait Implementations§
impl Copy for OpenGlApi
impl StructuralPartialEq for OpenGlApi
Auto Trait Implementations§
impl Freeze for OpenGlApi
impl RefUnwindSafe for OpenGlApi
impl Send for OpenGlApi
impl Sync for OpenGlApi
impl Unpin for OpenGlApi
impl UnsafeUnpin for OpenGlApi
impl UnwindSafe for OpenGlApi
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