Struct voodoo::ClearRect
[−]
[src]
#[repr(C)]pub struct ClearRect { /* fields omitted */ }
A VkClearRect
.
Methods
impl ClearRect
[src]
pub fn builder() -> ClearRectBuilder
[src]
pub unsafe fn from_raw(raw: VkClearRect) -> ClearRect
[src]
pub fn rect<'a>(&'a self) -> &'a Rect2d
[src]
pub fn rect_mut<'a>(&'a mut self) -> &'a mut Rect2d
[src]
pub fn base_array_layer<'a>(&'a self) -> u32
[src]
pub fn layer_count<'a>(&'a self) -> u32
[src]
pub fn set_rect<'m>(&mut self, rect: Rect2d)
[src]
pub fn set_base_array_layer<'m>(&mut self, base_array_layer: u32)
[src]
pub fn set_layer_count<'m>(&mut self, layer_count: u32)
[src]
pub fn as_raw(&self) -> &VkClearRect
[src]
Trait Implementations
impl Debug for ClearRect
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ClearRect
[src]
fn clone(&self) -> ClearRect
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for ClearRect
[src]
impl From<ClearRect> for VkClearRect
[src]
fn from(f: ClearRect) -> VkClearRect
[src]
Performs the conversion.