Struct vulkano::command_buffer::ClearRect
source · [−]Expand description
Specifies the clear region for the clear_attachments
command.
Fields
offset: [u32; 2]
The rectangle offset.
extent: [u32; 2]
The width and height of the rectangle.
array_layers: Range<u32>
The range of array layers to be cleared.
Trait Implementations
impl Eq for ClearRect
impl StructuralEq for ClearRect
impl StructuralPartialEq for ClearRect
Auto Trait Implementations
impl RefUnwindSafe for ClearRect
impl Send for ClearRect
impl Sync for ClearRect
impl Unpin for ClearRect
impl UnwindSafe for ClearRect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more