Struct ash::vk::enums::ColorSpaceKHR
source · #[repr(transparent)]pub struct ColorSpaceKHR(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl ColorSpaceKHR
impl ColorSpaceKHR
source§impl ColorSpaceKHR
impl ColorSpaceKHR
pub const SRGB_NONLINEAR: Self = _
source§impl ColorSpaceKHR
impl ColorSpaceKHR
Generated from ‘VK_EXT_swapchain_colorspace’
pub const DISPLAY_P3_NONLINEAR_EXT: Self = _
pub const EXTENDED_SRGB_LINEAR_EXT: Self = _
pub const DISPLAY_P3_LINEAR_EXT: Self = _
pub const DCI_P3_NONLINEAR_EXT: Self = _
pub const BT709_LINEAR_EXT: Self = _
pub const BT709_NONLINEAR_EXT: Self = _
pub const BT2020_LINEAR_EXT: Self = _
pub const HDR10_ST2084_EXT: Self = _
pub const DOLBYVISION_EXT: Self = _
pub const HDR10_HLG_EXT: Self = _
pub const ADOBERGB_LINEAR_EXT: Self = _
pub const ADOBERGB_NONLINEAR_EXT: Self = _
pub const PASS_THROUGH_EXT: Self = _
pub const EXTENDED_SRGB_NONLINEAR_EXT: Self = _
source§impl ColorSpaceKHR
impl ColorSpaceKHR
Generated from ‘VK_AMD_display_native_hdr’
pub const DISPLAY_NATIVE_AMD: Self = _
Trait Implementations§
source§impl Clone for ColorSpaceKHR
impl Clone for ColorSpaceKHR
source§fn clone(&self) -> ColorSpaceKHR
fn clone(&self) -> ColorSpaceKHR
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 ColorSpaceKHR
impl Debug for ColorSpaceKHR
source§impl Default for ColorSpaceKHR
impl Default for ColorSpaceKHR
source§fn default() -> ColorSpaceKHR
fn default() -> ColorSpaceKHR
Returns the “default value” for a type. Read more
source§impl Hash for ColorSpaceKHR
impl Hash for ColorSpaceKHR
source§impl Ord for ColorSpaceKHR
impl Ord for ColorSpaceKHR
source§fn cmp(&self, other: &ColorSpaceKHR) -> Ordering
fn cmp(&self, other: &ColorSpaceKHR) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ColorSpaceKHR
impl PartialEq for ColorSpaceKHR
source§fn 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 ==
.source§impl PartialOrd for ColorSpaceKHR
impl PartialOrd for ColorSpaceKHR
source§fn partial_cmp(&self, other: &ColorSpaceKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &ColorSpaceKHR) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for ColorSpaceKHR
impl Eq for ColorSpaceKHR
impl StructuralPartialEq for ColorSpaceKHR
Auto Trait Implementations§
impl Freeze for ColorSpaceKHR
impl RefUnwindSafe for ColorSpaceKHR
impl Send for ColorSpaceKHR
impl Sync for ColorSpaceKHR
impl Unpin for ColorSpaceKHR
impl UnwindSafe for ColorSpaceKHR
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