Struct qt_gui::q_opengl_context::OpenGLModuleType
source · pub struct OpenGLModuleType(/* private fields */);
Expand description
This enum defines the type of the underlying OpenGL implementation.
C++ enum: QOpenGLContext::OpenGLModuleType
.
This enum defines the type of the underlying OpenGL implementation.
This enum was introduced or modified in Qt 5.3.
Implementations§
source§impl OpenGLModuleType
impl OpenGLModuleType
sourcepub const LibGL: OpenGLModuleType = _
pub const LibGL: OpenGLModuleType = _
OpenGL (C++ enum variant: LibGL = 0
)
sourcepub const LibGLES: OpenGLModuleType = _
pub const LibGLES: OpenGLModuleType = _
OpenGL ES 2.0 or higher (C++ enum variant: LibGLES = 1
)
Trait Implementations§
source§impl Clone for OpenGLModuleType
impl Clone for OpenGLModuleType
source§fn clone(&self) -> OpenGLModuleType
fn clone(&self) -> OpenGLModuleType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OpenGLModuleType
impl Debug for OpenGLModuleType
source§impl From<OpenGLModuleType> for c_int
impl From<OpenGLModuleType> for c_int
source§fn from(value: OpenGLModuleType) -> Self
fn from(value: OpenGLModuleType) -> Self
Converts to this type from the input type.
source§impl From<i32> for OpenGLModuleType
impl From<i32> for OpenGLModuleType
source§impl PartialEq for OpenGLModuleType
impl PartialEq for OpenGLModuleType
source§fn eq(&self, other: &OpenGLModuleType) -> bool
fn eq(&self, other: &OpenGLModuleType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OpenGLModuleType
impl Eq for OpenGLModuleType
impl StructuralEq for OpenGLModuleType
impl StructuralPartialEq for OpenGLModuleType
Auto Trait Implementations§
impl RefUnwindSafe for OpenGLModuleType
impl Send for OpenGLModuleType
impl Sync for OpenGLModuleType
impl Unpin for OpenGLModuleType
impl UnwindSafe for OpenGLModuleType
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