Struct voodoo::Extent2dBuilder
[−]
[src]
pub struct Extent2dBuilder { /* fields omitted */ }
A builder for VkExtent2D
.
Methods
impl Extent2dBuilder
[src]
pub fn new() -> Extent2dBuilder
[src]
pub fn width<'m>(self, width: u32) -> Extent2dBuilder
[src]
pub fn height<'m>(self, height: u32) -> Extent2dBuilder
[src]
pub fn get_width<'a>(&'a self) -> u32
[src]
pub fn get_height<'a>(&'a self) -> u32
[src]
pub fn build(self) -> Extent2d
[src]
Trait Implementations
impl Debug for Extent2dBuilder
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Extent2dBuilder
[src]
fn clone(&self) -> Extent2dBuilder
[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 Extent2dBuilder
[src]
fn default() -> Extent2dBuilder
[src]
Returns the "default value" for a type. Read more