#[repr(C)]pub struct PipelineDiscardRectangleStateCreateInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineDiscardRectangleStateCreateFlagsEXT,
pub discard_rectangle_mode: DiscardRectangleModeEXT,
pub discard_rectangle_count: u32,
pub p_discard_rectangles: *const Rect2D,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: PipelineDiscardRectangleStateCreateFlagsEXT
§discard_rectangle_mode: DiscardRectangleModeEXT
§discard_rectangle_count: u32
§p_discard_rectangles: *const Rect2D
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineDiscardRectangleStateCreateInfoEXT<'a>
impl<'a> PipelineDiscardRectangleStateCreateInfoEXT<'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
Trait Implementations§
source§impl<'a> Clone for PipelineDiscardRectangleStateCreateInfoEXT<'a>
impl<'a> Clone for PipelineDiscardRectangleStateCreateInfoEXT<'a>
source§fn clone(&self) -> PipelineDiscardRectangleStateCreateInfoEXT<'a>
fn clone(&self) -> PipelineDiscardRectangleStateCreateInfoEXT<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for PipelineDiscardRectangleStateCreateInfoEXT<'a>
impl<'a> Debug for PipelineDiscardRectangleStateCreateInfoEXT<'a>
source§impl Default for PipelineDiscardRectangleStateCreateInfoEXT<'_>
impl Default for PipelineDiscardRectangleStateCreateInfoEXT<'_>
source§impl<'a> TaggedStructure for PipelineDiscardRectangleStateCreateInfoEXT<'a>
impl<'a> TaggedStructure for PipelineDiscardRectangleStateCreateInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT
impl<'a> Copy for PipelineDiscardRectangleStateCreateInfoEXT<'a>
impl ExtendsGraphicsPipelineCreateInfo for PipelineDiscardRectangleStateCreateInfoEXT<'_>
impl Send for PipelineDiscardRectangleStateCreateInfoEXT<'_>
impl Sync for PipelineDiscardRectangleStateCreateInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineDiscardRectangleStateCreateInfoEXT<'a>
impl<'a> RefUnwindSafe for PipelineDiscardRectangleStateCreateInfoEXT<'a>
impl<'a> Unpin for PipelineDiscardRectangleStateCreateInfoEXT<'a>
impl<'a> UnwindSafe for PipelineDiscardRectangleStateCreateInfoEXT<'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