Struct ash::vk::ViewportSwizzleNVBuilder
source · pub struct ViewportSwizzleNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ViewportSwizzleNVBuilder<'a>
impl<'a> ViewportSwizzleNVBuilder<'a>
pub fn x(self, x: ViewportCoordinateSwizzleNV) -> Self
pub fn y(self, y: ViewportCoordinateSwizzleNV) -> Self
pub fn z(self, z: ViewportCoordinateSwizzleNV) -> Self
pub fn w(self, w: ViewportCoordinateSwizzleNV) -> Self
sourcepub fn build(self) -> ViewportSwizzleNV
pub fn build(self) -> ViewportSwizzleNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for ViewportSwizzleNVBuilder<'a>
impl<'a> Deref for ViewportSwizzleNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ViewportSwizzleNVBuilder<'a>
impl<'a> RefUnwindSafe for ViewportSwizzleNVBuilder<'a>
impl<'a> Send for ViewportSwizzleNVBuilder<'a>
impl<'a> Sync for ViewportSwizzleNVBuilder<'a>
impl<'a> Unpin for ViewportSwizzleNVBuilder<'a>
impl<'a> UnwindSafe for ViewportSwizzleNVBuilder<'a>
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