pub struct PipelineViewportStateCreateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for PipelineViewportStateCreateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> PipelineViewportStateCreateInfoBuilder<'a>
impl<'a> PipelineViewportStateCreateInfoBuilder<'a>
pub fn flags(self, value: PipelineViewportStateCreateFlags) -> Self
pub fn viewport_count(self, value: u32) -> Self
pub fn viewports(self, slice: &'a [Viewport]) -> Self
pub fn scissor_count(self, value: u32) -> Self
pub fn scissors(self, slice: &'a [Rect2D]) -> Self
Sourcepub fn push_next<T: ExtendsPipelineViewportStateCreateInfo>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsPipelineViewportStateCreateInfo>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See PipelineViewportStateCreateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for PipelineViewportStateCreateInfoBuilder<'a>
impl<'a> Deref for PipelineViewportStateCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PipelineViewportStateCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for PipelineViewportStateCreateInfoBuilder<'a>
impl<'a> !Send for PipelineViewportStateCreateInfoBuilder<'a>
impl<'a> !Sync for PipelineViewportStateCreateInfoBuilder<'a>
impl<'a> Unpin for PipelineViewportStateCreateInfoBuilder<'a>
impl<'a> UnsafeUnpin for PipelineViewportStateCreateInfoBuilder<'a>
impl<'a> UnwindSafe for PipelineViewportStateCreateInfoBuilder<'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