Struct ash::vk::enums::ShadingRatePaletteEntryNV
source · #[repr(transparent)]pub struct ShadingRatePaletteEntryNV(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl ShadingRatePaletteEntryNV
impl ShadingRatePaletteEntryNV
pub const NO_INVOCATIONS: Self = _
pub const TYPE_16_INVOCATIONS_PER_PIXEL: Self = _
pub const TYPE_8_INVOCATIONS_PER_PIXEL: Self = _
pub const TYPE_4_INVOCATIONS_PER_PIXEL: Self = _
pub const TYPE_2_INVOCATIONS_PER_PIXEL: Self = _
pub const TYPE_1_INVOCATION_PER_PIXEL: Self = _
pub const TYPE_1_INVOCATION_PER_2X1_PIXELS: Self = _
pub const TYPE_1_INVOCATION_PER_1X2_PIXELS: Self = _
pub const TYPE_1_INVOCATION_PER_2X2_PIXELS: Self = _
pub const TYPE_1_INVOCATION_PER_4X2_PIXELS: Self = _
pub const TYPE_1_INVOCATION_PER_2X4_PIXELS: Self = _
pub const TYPE_1_INVOCATION_PER_4X4_PIXELS: Self = _
Trait Implementations§
source§impl Clone for ShadingRatePaletteEntryNV
impl Clone for ShadingRatePaletteEntryNV
source§fn clone(&self) -> ShadingRatePaletteEntryNV
fn clone(&self) -> ShadingRatePaletteEntryNV
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 ShadingRatePaletteEntryNV
impl Debug for ShadingRatePaletteEntryNV
source§impl Default for ShadingRatePaletteEntryNV
impl Default for ShadingRatePaletteEntryNV
source§fn default() -> ShadingRatePaletteEntryNV
fn default() -> ShadingRatePaletteEntryNV
Returns the “default value” for a type. Read more
source§impl Hash for ShadingRatePaletteEntryNV
impl Hash for ShadingRatePaletteEntryNV
source§impl Ord for ShadingRatePaletteEntryNV
impl Ord for ShadingRatePaletteEntryNV
source§fn cmp(&self, other: &ShadingRatePaletteEntryNV) -> Ordering
fn cmp(&self, other: &ShadingRatePaletteEntryNV) -> 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 ShadingRatePaletteEntryNV
impl PartialEq for ShadingRatePaletteEntryNV
source§fn eq(&self, other: &ShadingRatePaletteEntryNV) -> bool
fn eq(&self, other: &ShadingRatePaletteEntryNV) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ShadingRatePaletteEntryNV
impl PartialOrd for ShadingRatePaletteEntryNV
source§fn partial_cmp(&self, other: &ShadingRatePaletteEntryNV) -> Option<Ordering>
fn partial_cmp(&self, other: &ShadingRatePaletteEntryNV) -> 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 ShadingRatePaletteEntryNV
impl Eq for ShadingRatePaletteEntryNV
impl StructuralPartialEq for ShadingRatePaletteEntryNV
Auto Trait Implementations§
impl Freeze for ShadingRatePaletteEntryNV
impl RefUnwindSafe for ShadingRatePaletteEntryNV
impl Send for ShadingRatePaletteEntryNV
impl Sync for ShadingRatePaletteEntryNV
impl Unpin for ShadingRatePaletteEntryNV
impl UnwindSafe for ShadingRatePaletteEntryNV
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