#[repr(C)]pub struct ClearRect {
pub rect: Rect2D,
pub base_array_layer: u32,
pub layer_count: u32,
}Expand description
Native structure VkClearRect.
Fields§
§rect: Rect2DNative field rect.
base_array_layer: u32Native field baseArrayLayer.
layer_count: u32Native field layerCount.
Implementations§
Source§impl ClearRect
impl ClearRect
Sourcepub fn set_base_array_layer(self, value: u32) -> Self
pub fn set_base_array_layer(self, value: u32) -> Self
Set native field baseArrayLayer without native effects.
Sourcepub fn set_layer_count(self, value: u32) -> Self
pub fn set_layer_count(self, value: u32) -> Self
Set native field layerCount without native effects.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ClearRect
impl Freeze for ClearRect
impl Move for ClearRect
impl RefUnwindSafe for ClearRect
impl Send for ClearRect
impl Sync for ClearRect
impl Unpin for ClearRect
impl UnsafeUnpin for ClearRect
impl UnwindSafe for ClearRect
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