pub struct PipelineViewportSwizzleStateCreateInfoNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
impl<'a> PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
pub fn flags(self, flags: PipelineViewportSwizzleStateCreateFlagsNV) -> Self
pub fn viewport_swizzles( self, viewport_swizzles: &'a [ViewportSwizzleNV] ) -> Self
sourcepub fn build(self) -> PipelineViewportSwizzleStateCreateInfoNV
pub fn build(self) -> PipelineViewportSwizzleStateCreateInfoNV
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 PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
impl<'a> Deref for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
source§impl<'a> DerefMut for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
impl<'a> DerefMut for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
impl ExtendsPipelineViewportStateCreateInfo for PipelineViewportSwizzleStateCreateInfoNVBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
impl<'a> !Send for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
impl<'a> !Sync for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
impl<'a> Unpin for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
impl<'a> UnwindSafe for PipelineViewportSwizzleStateCreateInfoNVBuilder<'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