#[repr(C)]pub struct PhysicalDeviceDiscardRectanglePropertiesEXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_discard_rectangles: u32,
}Expand description
VkPhysicalDeviceDiscardRectanglePropertiesEXT
Provided by VK_EXT_discard_rectangles.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT.
p_next: *mut c_voidOptional, may be null.
max_discard_rectangles: u32Implementations§
Source§impl PhysicalDeviceDiscardRectanglePropertiesEXT
impl PhysicalDeviceDiscardRectanglePropertiesEXT
Sourcepub fn builder<'a>() -> PhysicalDeviceDiscardRectanglePropertiesEXTBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceDiscardRectanglePropertiesEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceDiscardRectanglePropertiesEXT
impl Clone for PhysicalDeviceDiscardRectanglePropertiesEXT
Source§fn clone(&self) -> PhysicalDeviceDiscardRectanglePropertiesEXT
fn clone(&self) -> PhysicalDeviceDiscardRectanglePropertiesEXT
Returns a duplicate 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 Default for PhysicalDeviceDiscardRectanglePropertiesEXT
impl Default for PhysicalDeviceDiscardRectanglePropertiesEXT
Source§fn default() -> PhysicalDeviceDiscardRectanglePropertiesEXT
fn default() -> PhysicalDeviceDiscardRectanglePropertiesEXT
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceDiscardRectanglePropertiesEXT
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDiscardRectanglePropertiesEXT
Auto Trait Implementations§
impl Freeze for PhysicalDeviceDiscardRectanglePropertiesEXT
impl RefUnwindSafe for PhysicalDeviceDiscardRectanglePropertiesEXT
impl !Send for PhysicalDeviceDiscardRectanglePropertiesEXT
impl !Sync for PhysicalDeviceDiscardRectanglePropertiesEXT
impl Unpin for PhysicalDeviceDiscardRectanglePropertiesEXT
impl UnsafeUnpin for PhysicalDeviceDiscardRectanglePropertiesEXT
impl UnwindSafe for PhysicalDeviceDiscardRectanglePropertiesEXT
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