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