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