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