Struct voodoo::Rect2d
[−]
[src]
#[repr(C)]pub struct Rect2d { /* fields omitted */ }
A VkRect2D
.
Methods
impl Rect2d
[src]
pub fn builder() -> Rect2dBuilder
[src]
pub unsafe fn from_raw(raw: VkRect2D) -> Rect2d
[src]
pub fn offset<'a>(&'a self) -> &'a Offset2d
[src]
pub fn offset_mut<'a>(&'a mut self) -> &'a mut Offset2d
[src]
pub fn extent<'a>(&'a self) -> &'a Extent2d
[src]
pub fn extent_mut<'a>(&'a mut self) -> &'a mut Extent2d
[src]
pub fn set_offset<'m>(&mut self, offset: Offset2d)
[src]
pub fn set_extent<'m>(&mut self, extent: Extent2d)
[src]
pub fn as_raw(&self) -> &VkRect2D
[src]
Trait Implementations
impl Debug for Rect2d
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Rect2d
[src]
fn clone(&self) -> Rect2d
[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