pub struct Extent2dBuilder { /* private fields */ }Expand description
A builder for VkExtent2D.
Implementations§
Source§impl Extent2dBuilder
impl Extent2dBuilder
pub fn new() -> Extent2dBuilder
pub fn width<'m>(self, width: u32) -> Extent2dBuilder
pub fn height<'m>(self, height: u32) -> Extent2dBuilder
pub fn get_width<'a>(&'a self) -> u32
pub fn get_height<'a>(&'a self) -> u32
pub fn build(self) -> Extent2d
Trait Implementations§
Source§impl Clone for Extent2dBuilder
impl Clone for Extent2dBuilder
Source§fn clone(&self) -> Extent2dBuilder
fn clone(&self) -> Extent2dBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Extent2dBuilder
impl Debug for Extent2dBuilder
Source§impl Default for Extent2dBuilder
impl Default for Extent2dBuilder
Source§fn default() -> Extent2dBuilder
fn default() -> Extent2dBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Extent2dBuilder
impl RefUnwindSafe for Extent2dBuilder
impl Send for Extent2dBuilder
impl Sync for Extent2dBuilder
impl Unpin for Extent2dBuilder
impl UnsafeUnpin for Extent2dBuilder
impl UnwindSafe for Extent2dBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more