[−][src]Struct qt_gui::q_surface::SurfaceType
The SurfaceType enum describes what type of surface this is.
C++ enum: QSurface::SurfaceType
.
The SurfaceType enum describes what type of surface this is.
Methods
impl SurfaceType
[src]
impl SurfaceType
[src]
pub const RasterSurface: SurfaceType
[src]
The surface is is composed of pixels and can be rendered to using a software rasterizer like Qt's raster paint engine. (C++ enum variant: RasterSurface = 0
)
pub const OpenGLSurface: SurfaceType
[src]
The surface is an OpenGL compatible surface and can be used in conjunction with QOpenGLContext. (C++ enum variant: OpenGLSurface = 1
)
pub const RasterGLSurface: SurfaceType
[src]
The surface can be rendered to using a software rasterizer, and also supports OpenGL. This surface type is intended for internal Qt use, and requires the use of private API. (C++ enum variant: RasterGLSurface = 2
)
pub const OpenVGSurface: SurfaceType
[src]
The surface is an OpenVG compatible surface and can be used in conjunction with OpenVG contexts. (C++ enum variant: OpenVGSurface = 3
)
pub const VulkanSurface: SurfaceType
[src]
The surface is a Vulkan compatible surface and can be used in conjunction with the Vulkan graphics API. (C++ enum variant: VulkanSurface = 4
)
pub const MetalSurface: SurfaceType
[src]
The surface is a Metal compatible surface and can be used in conjunction with Apple's Metal graphics API. This surface type is supported on macOS only. (C++ enum variant: MetalSurface = 5
)
Trait Implementations
impl Clone for SurfaceType
[src]
fn clone(&self) -> SurfaceType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SurfaceType
[src]
impl Debug for SurfaceType
[src]
impl Eq for SurfaceType
[src]
impl From<SurfaceType> for c_int
[src]
fn from(value: SurfaceType) -> Self
[src]
impl From<i32> for SurfaceType
[src]
impl PartialEq<SurfaceType> for SurfaceType
[src]
fn eq(&self, other: &SurfaceType) -> bool
[src]
fn ne(&self, other: &SurfaceType) -> bool
[src]
impl StructuralEq for SurfaceType
[src]
impl StructuralPartialEq for SurfaceType
[src]
Auto Trait Implementations
impl RefUnwindSafe for SurfaceType
impl Send for SurfaceType
impl Sync for SurfaceType
impl Unpin for SurfaceType
impl UnwindSafe for SurfaceType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,