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