Struct qt_gui::q_surface_format::RenderableType
source · pub struct RenderableType(/* private fields */);
Expand description
This enum specifies the rendering backend for the surface.
C++ enum: QSurfaceFormat::RenderableType
.
This enum specifies the rendering backend for the surface.
Implementations§
source§impl RenderableType
impl RenderableType
sourcepub const DefaultRenderableType: RenderableType = _
pub const DefaultRenderableType: RenderableType = _
The default, unspecified rendering method (C++ enum variant: DefaultRenderableType = 0
)
sourcepub const OpenGL: RenderableType = _
pub const OpenGL: RenderableType = _
Desktop OpenGL rendering (C++ enum variant: OpenGL = 1
)
sourcepub const OpenGLES: RenderableType = _
pub const OpenGLES: RenderableType = _
OpenGL ES 2.0 rendering (C++ enum variant: OpenGLES = 2
)
sourcepub const OpenVG: RenderableType = _
pub const OpenVG: RenderableType = _
Open Vector Graphics rendering (C++ enum variant: OpenVG = 4
)
Trait Implementations§
source§impl Clone for RenderableType
impl Clone for RenderableType
source§fn clone(&self) -> RenderableType
fn clone(&self) -> RenderableType
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 RenderableType
impl Debug for RenderableType
source§impl From<RenderableType> for c_int
impl From<RenderableType> for c_int
source§fn from(value: RenderableType) -> Self
fn from(value: RenderableType) -> Self
Converts to this type from the input type.
source§impl From<i32> for RenderableType
impl From<i32> for RenderableType
source§impl PartialEq for RenderableType
impl PartialEq for RenderableType
source§fn eq(&self, other: &RenderableType) -> bool
fn eq(&self, other: &RenderableType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RenderableType
impl Eq for RenderableType
impl StructuralEq for RenderableType
impl StructuralPartialEq for RenderableType
Auto Trait Implementations§
impl RefUnwindSafe for RenderableType
impl Send for RenderableType
impl Sync for RenderableType
impl Unpin for RenderableType
impl UnwindSafe for RenderableType
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