#[repr(transparent)]pub struct SubpassDescriptionBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> SubpassDescriptionBuilder<'a>
impl<'a> SubpassDescriptionBuilder<'a>
pub fn flags(
self,
flags: SubpassDescriptionFlags
) -> SubpassDescriptionBuilder<'a>
pub fn pipeline_bind_point(
self,
pipeline_bind_point: PipelineBindPoint
) -> SubpassDescriptionBuilder<'a>
pub fn input_attachments(
self,
input_attachments: &'a [AttachmentReference]
) -> SubpassDescriptionBuilder<'a>
pub fn color_attachments(
self,
color_attachments: &'a [AttachmentReference]
) -> SubpassDescriptionBuilder<'a>
pub fn resolve_attachments(
self,
resolve_attachments: &'a [AttachmentReference]
) -> SubpassDescriptionBuilder<'a>
pub fn depth_stencil_attachment(
self,
depth_stencil_attachment: &'a AttachmentReference
) -> SubpassDescriptionBuilder<'a>
pub fn preserve_attachments(
self,
preserve_attachments: &'a [u32]
) -> SubpassDescriptionBuilder<'a>
sourcepub fn build(self) -> SubpassDescription
pub fn build(self) -> SubpassDescription
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 SubpassDescriptionBuilder<'a>
impl<'a> Deref for SubpassDescriptionBuilder<'a>
type Target = SubpassDescription
type Target = SubpassDescription
The resulting type after dereferencing.
sourcefn deref(&self) -> &<SubpassDescriptionBuilder<'a> as Deref>::Target
fn deref(&self) -> &<SubpassDescriptionBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for SubpassDescriptionBuilder<'a>
impl<'a> DerefMut for SubpassDescriptionBuilder<'a>
sourcefn deref_mut(&mut self) -> &mut <SubpassDescriptionBuilder<'a> as Deref>::Target
fn deref_mut(&mut self) -> &mut <SubpassDescriptionBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubpassDescriptionBuilder<'a>
impl<'a> !Send for SubpassDescriptionBuilder<'a>
impl<'a> !Sync for SubpassDescriptionBuilder<'a>
impl<'a> Unpin for SubpassDescriptionBuilder<'a>
impl<'a> UnwindSafe for SubpassDescriptionBuilder<'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