#[repr(transparent)]pub struct AttachmentSampleLocationsEXTBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> AttachmentSampleLocationsEXTBuilder<'a>
impl<'a> AttachmentSampleLocationsEXTBuilder<'a>
pub fn attachment_index(
self,
attachment_index: u32
) -> AttachmentSampleLocationsEXTBuilder<'a>
pub fn sample_locations_info(
self,
sample_locations_info: SampleLocationsInfoEXT
) -> AttachmentSampleLocationsEXTBuilder<'a>
sourcepub fn build(self) -> AttachmentSampleLocationsEXT
pub fn build(self) -> AttachmentSampleLocationsEXT
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 AttachmentSampleLocationsEXTBuilder<'a>
impl<'a> Deref for AttachmentSampleLocationsEXTBuilder<'a>
type Target = AttachmentSampleLocationsEXT
type Target = AttachmentSampleLocationsEXT
The resulting type after dereferencing.
sourcefn deref(&self) -> &<AttachmentSampleLocationsEXTBuilder<'a> as Deref>::Target
fn deref(&self) -> &<AttachmentSampleLocationsEXTBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for AttachmentSampleLocationsEXTBuilder<'a>
impl<'a> DerefMut for AttachmentSampleLocationsEXTBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <AttachmentSampleLocationsEXTBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <AttachmentSampleLocationsEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AttachmentSampleLocationsEXTBuilder<'a>
impl<'a> !Send for AttachmentSampleLocationsEXTBuilder<'a>
impl<'a> !Sync for AttachmentSampleLocationsEXTBuilder<'a>
impl<'a> Unpin for AttachmentSampleLocationsEXTBuilder<'a>
impl<'a> UnwindSafe for AttachmentSampleLocationsEXTBuilder<'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