Struct ash::vk::SamplerYcbcrRange
source · [−]#[repr(transparent)]pub struct SamplerYcbcrRange(_);
Expand description
Implementations
sourceimpl SamplerYcbcrRange
impl SamplerYcbcrRange
sourcepub const ITU_NARROW: Self
pub const ITU_NARROW: Self
Luma 0..1 maps to 16..235, chroma -0.5..0.5 to 16..240
sourceimpl SamplerYcbcrRange
impl SamplerYcbcrRange
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const ITU_FULL_KHR: Self
pub const ITU_NARROW_KHR: Self
Trait Implementations
sourceimpl Clone for SamplerYcbcrRange
impl Clone for SamplerYcbcrRange
sourcefn clone(&self) -> SamplerYcbcrRange
fn clone(&self) -> SamplerYcbcrRange
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 SamplerYcbcrRange
impl Debug for SamplerYcbcrRange
sourceimpl Default for SamplerYcbcrRange
impl Default for SamplerYcbcrRange
sourcefn default() -> SamplerYcbcrRange
fn default() -> SamplerYcbcrRange
Returns the “default value” for a type. Read more
sourceimpl Hash for SamplerYcbcrRange
impl Hash for SamplerYcbcrRange
sourceimpl Ord for SamplerYcbcrRange
impl Ord for SamplerYcbcrRange
sourceimpl PartialEq<SamplerYcbcrRange> for SamplerYcbcrRange
impl PartialEq<SamplerYcbcrRange> for SamplerYcbcrRange
sourcefn eq(&self, other: &SamplerYcbcrRange) -> bool
fn eq(&self, other: &SamplerYcbcrRange) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SamplerYcbcrRange) -> bool
fn ne(&self, other: &SamplerYcbcrRange) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SamplerYcbcrRange> for SamplerYcbcrRange
impl PartialOrd<SamplerYcbcrRange> for SamplerYcbcrRange
sourcefn partial_cmp(&self, other: &SamplerYcbcrRange) -> Option<Ordering>
fn partial_cmp(&self, other: &SamplerYcbcrRange) -> 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 SamplerYcbcrRange
impl Eq for SamplerYcbcrRange
impl StructuralEq for SamplerYcbcrRange
impl StructuralPartialEq for SamplerYcbcrRange
Auto Trait Implementations
impl RefUnwindSafe for SamplerYcbcrRange
impl Send for SamplerYcbcrRange
impl Sync for SamplerYcbcrRange
impl Unpin for SamplerYcbcrRange
impl UnwindSafe for SamplerYcbcrRange
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