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> Freeze for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a>
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