#[repr(transparent)]pub struct SampleLocationEXTBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> SampleLocationEXTBuilder<'a>
impl<'a> SampleLocationEXTBuilder<'a>
pub fn x(self, x: f32) -> SampleLocationEXTBuilder<'a>
pub fn y(self, y: f32) -> SampleLocationEXTBuilder<'a>
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
sourceimpl<'a> Deref for SampleLocationEXTBuilder<'a>
impl<'a> Deref for SampleLocationEXTBuilder<'a>
type Target = SampleLocationEXT
type Target = SampleLocationEXT
The resulting type after dereferencing.
sourcefn deref(&self) -> &<SampleLocationEXTBuilder<'a> as Deref>::Target
fn deref(&self) -> &<SampleLocationEXTBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for SampleLocationEXTBuilder<'a>
impl<'a> DerefMut for SampleLocationEXTBuilder<'a>
sourcefn deref_mut(&mut self) -> &mut <SampleLocationEXTBuilder<'a> as Deref>::Target
fn deref_mut(&mut self) -> &mut <SampleLocationEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more