#[repr(transparent)]pub struct PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> Deref for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
type Target = PipelineDiscardRectangleStateCreateInfoEXT
type Target = PipelineDiscardRectangleStateCreateInfoEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl<'a> DerefMut for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
impl ExtendsGraphicsPipelineCreateInfo for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'_>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more