Struct ash::vk::ColorSpaceKHR
source · #[repr(transparent)]pub struct ColorSpaceKHR(_);Expand description
Implementations
sourceimpl ColorSpaceKHR
impl ColorSpaceKHR
sourceimpl ColorSpaceKHR
impl ColorSpaceKHR
pub const SRGB_NONLINEAR: Self = _
sourceimpl 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 = _
sourceimpl ColorSpaceKHR
impl ColorSpaceKHR
Generated from ‘VK_AMD_display_native_hdr’
pub const DISPLAY_NATIVE_AMD: Self = _
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 moresourceimpl 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
sourcefn cmp(&self, other: &ColorSpaceKHR) -> Ordering
fn cmp(&self, other: &ColorSpaceKHR) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ColorSpaceKHR> for ColorSpaceKHR
impl PartialEq<ColorSpaceKHR> for ColorSpaceKHR
sourcefn eq(&self, other: &ColorSpaceKHR) -> bool
fn eq(&self, other: &ColorSpaceKHR) -> bool
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>
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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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