[−][src]Struct qt_gui::q_surface_format::ColorSpace
This enum is used to specify the preferred color space, controlling if the window's associated default framebuffer is able to do updates and blending in a given encoding instead of the standard linear operations.
C++ enum: QSurfaceFormat::ColorSpace
.
This enum is used to specify the preferred color space, controlling if the window's associated default framebuffer is able to do updates and blending in a given encoding instead of the standard linear operations.
Methods
impl ColorSpace
[src]
impl ColorSpace
[src]
pub const DefaultColorSpace: ColorSpace
[src]
The default, unspecified color space. (C++ enum variant: DefaultColorSpace = 0
)
pub const SRGBColorSpace: ColorSpace
[src]
When GL_ARB_framebuffer_sRGB
or GL_EXT_framebuffer_sRGB
is supported by the platform and this value is set, the window will be created with an sRGB-capable default framebuffer. Note that some platforms may return windows with a sRGB-capable default framebuffer even when not requested explicitly. (C++ enum variant: sRGBColorSpace = 1
)
Trait Implementations
impl Clone for ColorSpace
[src]
fn clone(&self) -> ColorSpace
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ColorSpace
[src]
impl Debug for ColorSpace
[src]
impl Eq for ColorSpace
[src]
impl From<ColorSpace> for c_int
[src]
fn from(value: ColorSpace) -> Self
[src]
impl From<i32> for ColorSpace
[src]
impl PartialEq<ColorSpace> for ColorSpace
[src]
fn eq(&self, other: &ColorSpace) -> bool
[src]
fn ne(&self, other: &ColorSpace) -> bool
[src]
impl StructuralEq for ColorSpace
[src]
impl StructuralPartialEq for ColorSpace
[src]
Auto Trait Implementations
impl RefUnwindSafe for ColorSpace
impl Send for ColorSpace
impl Sync for ColorSpace
impl Unpin for ColorSpace
impl UnwindSafe for ColorSpace
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]
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>,