Struct ash::vk::ShadingRatePaletteNVBuilder
source · [−]#[repr(transparent)]pub struct ShadingRatePaletteNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for ShadingRatePaletteNVBuilder<'a>
impl<'a> Deref for ShadingRatePaletteNVBuilder<'a>
type Target = ShadingRatePaletteNV
type Target = ShadingRatePaletteNV
The resulting type after dereferencing.
Auto Trait Implementations
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
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