Struct voodoo::Extent2d
[−]
[src]
#[repr(C)]pub struct Extent2d { /* fields omitted */ }
A VkExtent2D
.
Methods
impl Extent2d
[src]
pub fn builder() -> Extent2dBuilder
[src]
pub unsafe fn from_raw(raw: VkExtent2D) -> Extent2d
[src]
pub fn width<'a>(&'a self) -> u32
[src]
pub fn height<'a>(&'a self) -> u32
[src]
pub fn set_width<'m>(&mut self, width: u32)
[src]
pub fn set_height<'m>(&mut self, height: u32)
[src]
pub fn as_raw(&self) -> &VkExtent2D
[src]
Trait Implementations
impl Debug for Extent2d
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Extent2d
[src]
fn clone(&self) -> Extent2d
[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 Extent2d
[src]
impl From<Extent2d> for VkExtent2D
[src]
fn from(f: Extent2d) -> VkExtent2D
[src]
Performs the conversion.