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 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more