Struct ash::vk::ShadingRatePaletteNVBuilder
source · pub struct ShadingRatePaletteNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ShadingRatePaletteNVBuilder<'a>
impl<'a> ShadingRatePaletteNVBuilder<'a>
pub fn shading_rate_palette_entries( self, shading_rate_palette_entries: &'a [ShadingRatePaletteEntryNV] ) -> Self
sourcepub fn build(self) -> ShadingRatePaletteNV
pub fn build(self) -> ShadingRatePaletteNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for ShadingRatePaletteNVBuilder<'a>
impl<'a> Deref for ShadingRatePaletteNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ShadingRatePaletteNVBuilder<'a>
impl<'a> RefUnwindSafe for ShadingRatePaletteNVBuilder<'a>
impl<'a> !Send for ShadingRatePaletteNVBuilder<'a>
impl<'a> !Sync for ShadingRatePaletteNVBuilder<'a>
impl<'a> Unpin for ShadingRatePaletteNVBuilder<'a>
impl<'a> UnwindSafe for ShadingRatePaletteNVBuilder<'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