Struct vulkanalia::vk::ShadingRatePaletteNVBuilder
source · #[repr(transparent)]pub struct ShadingRatePaletteNVBuilder<'b> { /* private fields */ }
Expand description
A builder for a ShadingRatePaletteNV
.
Implementations§
source§impl<'b> ShadingRatePaletteNVBuilder<'b>
impl<'b> ShadingRatePaletteNVBuilder<'b>
pub fn shading_rate_palette_entries( self, shading_rate_palette_entries: &'b [ShadingRatePaletteEntryNV] ) -> Self
pub fn build(self) -> ShadingRatePaletteNV
Trait Implementations§
source§impl<'b> Cast for ShadingRatePaletteNVBuilder<'b>
impl<'b> Cast for ShadingRatePaletteNVBuilder<'b>
§type Target = ShadingRatePaletteNV
type Target = ShadingRatePaletteNV
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for ShadingRatePaletteNVBuilder<'b>
impl<'b> Clone for ShadingRatePaletteNVBuilder<'b>
source§fn clone(&self) -> ShadingRatePaletteNVBuilder<'b>
fn clone(&self) -> ShadingRatePaletteNVBuilder<'b>
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<'b> Debug for ShadingRatePaletteNVBuilder<'b>
impl<'b> Debug for ShadingRatePaletteNVBuilder<'b>
source§impl<'b> Default for ShadingRatePaletteNVBuilder<'b>
impl<'b> Default for ShadingRatePaletteNVBuilder<'b>
source§fn default() -> ShadingRatePaletteNVBuilder<'b>
fn default() -> ShadingRatePaletteNVBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for ShadingRatePaletteNVBuilder<'b>
impl<'b> Deref for ShadingRatePaletteNVBuilder<'b>
source§impl<'b> DerefMut for ShadingRatePaletteNVBuilder<'b>
impl<'b> DerefMut for ShadingRatePaletteNVBuilder<'b>
impl<'b> Copy for ShadingRatePaletteNVBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for ShadingRatePaletteNVBuilder<'b>
impl<'b> !Send for ShadingRatePaletteNVBuilder<'b>
impl<'b> !Sync for ShadingRatePaletteNVBuilder<'b>
impl<'b> Unpin for ShadingRatePaletteNVBuilder<'b>
impl<'b> UnwindSafe for ShadingRatePaletteNVBuilder<'b>
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