pub struct ViewportWScalingNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ViewportWScalingNVBuilder<'a>
impl<'a> ViewportWScalingNVBuilder<'a>
pub fn xcoeff(self, xcoeff: f32) -> Self
pub fn ycoeff(self, ycoeff: f32) -> Self
Sourcepub fn build(self) -> ViewportWScalingNV
pub fn build(self) -> ViewportWScalingNV
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 ViewportWScalingNVBuilder<'a>
impl<'a> Deref for ViewportWScalingNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ViewportWScalingNVBuilder<'a>
impl<'a> RefUnwindSafe for ViewportWScalingNVBuilder<'a>
impl<'a> Send for ViewportWScalingNVBuilder<'a>
impl<'a> Sync for ViewportWScalingNVBuilder<'a>
impl<'a> Unpin for ViewportWScalingNVBuilder<'a>
impl<'a> UnwindSafe for ViewportWScalingNVBuilder<'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