pub struct PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
pub fn flags(self, flags: PipelineDiscardRectangleStateCreateFlagsEXT) -> Self
pub fn discard_rectangle_mode( self, discard_rectangle_mode: DiscardRectangleModeEXT ) -> Self
pub fn discard_rectangles(self, discard_rectangles: &'a [Rect2D]) -> Self
sourcepub fn build(self) -> PipelineDiscardRectangleStateCreateInfoEXT
pub fn build(self) -> PipelineDiscardRectangleStateCreateInfoEXT
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 PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> Deref for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
source§impl<'a> DerefMut for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> DerefMut for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl ExtendsGraphicsPipelineCreateInfo for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> !Send for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> !Sync for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> Unpin for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'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