Struct vulkanalia::vk::SubpassDescription2Builder
source · pub struct SubpassDescription2Builder<'b> { /* private fields */ }
Expand description
A builder for a SubpassDescription2
.
Implementations§
source§impl<'b> SubpassDescription2Builder<'b>
impl<'b> SubpassDescription2Builder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsSubpassDescription2,
pub fn flags(self, flags: SubpassDescriptionFlags) -> Self
pub fn pipeline_bind_point(self, pipeline_bind_point: PipelineBindPoint) -> Self
pub fn view_mask(self, view_mask: u32) -> Self
pub fn input_attachments( self, input_attachments: &'b [impl Cast<Target = AttachmentReference2>] ) -> Self
pub fn color_attachment_count(self, color_attachment_count: u32) -> Self
pub fn color_attachments( self, color_attachments: &'b [impl Cast<Target = AttachmentReference2>] ) -> Self
pub fn resolve_attachments( self, resolve_attachments: &'b [impl Cast<Target = AttachmentReference2>] ) -> Self
pub fn depth_stencil_attachment( self, depth_stencil_attachment: &'b impl Cast<Target = AttachmentReference2> ) -> Self
pub fn preserve_attachments(self, preserve_attachments: &'b [u32]) -> Self
pub fn build(self) -> SubpassDescription2
Trait Implementations§
source§impl<'b> Cast for SubpassDescription2Builder<'b>
impl<'b> Cast for SubpassDescription2Builder<'b>
§type Target = SubpassDescription2
type Target = SubpassDescription2
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for SubpassDescription2Builder<'b>
impl<'b> Clone for SubpassDescription2Builder<'b>
source§fn clone(&self) -> SubpassDescription2Builder<'b>
fn clone(&self) -> SubpassDescription2Builder<'b>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'b> Debug for SubpassDescription2Builder<'b>
impl<'b> Debug for SubpassDescription2Builder<'b>
source§impl<'b> Default for SubpassDescription2Builder<'b>
impl<'b> Default for SubpassDescription2Builder<'b>
source§fn default() -> SubpassDescription2Builder<'b>
fn default() -> SubpassDescription2Builder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for SubpassDescription2Builder<'b>
impl<'b> Deref for SubpassDescription2Builder<'b>
source§impl<'b> DerefMut for SubpassDescription2Builder<'b>
impl<'b> DerefMut for SubpassDescription2Builder<'b>
impl<'b> Copy for SubpassDescription2Builder<'b>
Auto Trait Implementations§
impl<'b> Freeze for SubpassDescription2Builder<'b>
impl<'b> RefUnwindSafe for SubpassDescription2Builder<'b>
impl<'b> !Send for SubpassDescription2Builder<'b>
impl<'b> !Sync for SubpassDescription2Builder<'b>
impl<'b> Unpin for SubpassDescription2Builder<'b>
impl<'b> UnwindSafe for SubpassDescription2Builder<'b>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more