Struct ash::vk::ShadingRatePaletteNV
source · #[repr(C)]pub struct ShadingRatePaletteNV<'a> {
pub shading_rate_palette_entry_count: u32,
pub p_shading_rate_palette_entries: *const ShadingRatePaletteEntryNV,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§shading_rate_palette_entry_count: u32
§p_shading_rate_palette_entries: *const ShadingRatePaletteEntryNV
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ShadingRatePaletteNV<'a>
impl<'a> ShadingRatePaletteNV<'a>
pub fn shading_rate_palette_entries( self, shading_rate_palette_entries: &'a [ShadingRatePaletteEntryNV], ) -> Self
Trait Implementations§
source§impl<'a> Clone for ShadingRatePaletteNV<'a>
impl<'a> Clone for ShadingRatePaletteNV<'a>
source§fn clone(&self) -> ShadingRatePaletteNV<'a>
fn clone(&self) -> ShadingRatePaletteNV<'a>
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<'a> Debug for ShadingRatePaletteNV<'a>
impl<'a> Debug for ShadingRatePaletteNV<'a>
source§impl Default for ShadingRatePaletteNV<'_>
impl Default for ShadingRatePaletteNV<'_>
impl<'a> Copy for ShadingRatePaletteNV<'a>
impl Send for ShadingRatePaletteNV<'_>
impl Sync for ShadingRatePaletteNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for ShadingRatePaletteNV<'a>
impl<'a> RefUnwindSafe for ShadingRatePaletteNV<'a>
impl<'a> Unpin for ShadingRatePaletteNV<'a>
impl<'a> UnwindSafe for ShadingRatePaletteNV<'a>
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