#[repr(transparent)]pub struct ColorSpaceKHR(_);Expand description
Implementations
sourceimpl ColorSpaceKHR
impl ColorSpaceKHR
sourceimpl ColorSpaceKHR
impl ColorSpaceKHR
pub const SRGB_NONLINEAR: ColorSpaceKHR = Self(0)
sourceimpl ColorSpaceKHR
impl ColorSpaceKHR
Generated from ‘VK_EXT_swapchain_colorspace’
pub const DISPLAY_P3_NONLINEAR_EXT: ColorSpaceKHR = Self(1000104001)
pub const EXTENDED_SRGB_LINEAR_EXT: ColorSpaceKHR = Self(1000104002)
pub const DISPLAY_P3_LINEAR_EXT: ColorSpaceKHR = Self(1000104003)
pub const DCI_P3_NONLINEAR_EXT: ColorSpaceKHR = Self(1000104004)
pub const BT709_LINEAR_EXT: ColorSpaceKHR = Self(1000104005)
pub const BT709_NONLINEAR_EXT: ColorSpaceKHR = Self(1000104006)
pub const BT2020_LINEAR_EXT: ColorSpaceKHR = Self(1000104007)
pub const HDR10_ST2084_EXT: ColorSpaceKHR = Self(1000104008)
pub const DOLBYVISION_EXT: ColorSpaceKHR = Self(1000104009)
pub const HDR10_HLG_EXT: ColorSpaceKHR = Self(1000104010)
pub const ADOBERGB_LINEAR_EXT: ColorSpaceKHR = Self(1000104011)
pub const ADOBERGB_NONLINEAR_EXT: ColorSpaceKHR = Self(1000104012)
pub const PASS_THROUGH_EXT: ColorSpaceKHR = Self(1000104013)
pub const EXTENDED_SRGB_NONLINEAR_EXT: ColorSpaceKHR = Self(1000104014)
sourceimpl ColorSpaceKHR
impl ColorSpaceKHR
Generated from ‘VK_AMD_display_native_hdr’
pub const DISPLAY_NATIVE_AMD: ColorSpaceKHR = Self(1000213000)
Trait Implementations
sourceimpl Clone for ColorSpaceKHR
impl Clone for ColorSpaceKHR
sourcefn clone(&self) -> ColorSpaceKHR
fn clone(&self) -> ColorSpaceKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ColorSpaceKHR
impl Debug for ColorSpaceKHR
sourceimpl Default for ColorSpaceKHR
impl Default for ColorSpaceKHR
sourcefn default() -> ColorSpaceKHR
fn default() -> ColorSpaceKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for ColorSpaceKHR
impl Hash for ColorSpaceKHR
sourceimpl Ord for ColorSpaceKHR
impl Ord for ColorSpaceKHR
sourceimpl PartialEq<ColorSpaceKHR> for ColorSpaceKHR
impl PartialEq<ColorSpaceKHR> for ColorSpaceKHR
sourcefn eq(&self, other: &ColorSpaceKHR) -> bool
fn eq(&self, other: &ColorSpaceKHR) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ColorSpaceKHR) -> bool
fn ne(&self, other: &ColorSpaceKHR) -> bool
This method tests for !=.
sourceimpl PartialOrd<ColorSpaceKHR> for ColorSpaceKHR
impl PartialOrd<ColorSpaceKHR> for ColorSpaceKHR
sourcefn partial_cmp(&self, other: &ColorSpaceKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &ColorSpaceKHR) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for ColorSpaceKHR
impl Eq for ColorSpaceKHR
impl StructuralEq for ColorSpaceKHR
impl StructuralPartialEq for ColorSpaceKHR
Auto Trait Implementations
impl RefUnwindSafe for ColorSpaceKHR
impl Send for ColorSpaceKHR
impl Sync for ColorSpaceKHR
impl Unpin for ColorSpaceKHR
impl UnwindSafe for ColorSpaceKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more