Struct ash::vk::CoarseSampleLocationNVBuilder
source · [−]#[repr(transparent)]pub struct CoarseSampleLocationNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> CoarseSampleLocationNVBuilder<'a>
impl<'a> CoarseSampleLocationNVBuilder<'a>
pub fn pixel_x(self, pixel_x: u32) -> Self
pub fn pixel_y(self, pixel_y: u32) -> Self
pub fn sample(self, sample: u32) -> Self
sourcepub fn build(self) -> CoarseSampleLocationNV
pub fn build(self) -> CoarseSampleLocationNV
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
sourceimpl<'a> Deref for CoarseSampleLocationNVBuilder<'a>
impl<'a> Deref for CoarseSampleLocationNVBuilder<'a>
type Target = CoarseSampleLocationNV
type Target = CoarseSampleLocationNV
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CoarseSampleLocationNVBuilder<'a>
impl<'a> Send for CoarseSampleLocationNVBuilder<'a>
impl<'a> Sync for CoarseSampleLocationNVBuilder<'a>
impl<'a> Unpin for CoarseSampleLocationNVBuilder<'a>
impl<'a> UnwindSafe for CoarseSampleLocationNVBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more