Struct vulkanalia::vk::RenderPassCreateInfo2Builder
source · #[repr(transparent)]pub struct RenderPassCreateInfo2Builder<'b> { /* private fields */ }
Expand description
A builder for a RenderPassCreateInfo2
.
Implementations§
source§impl<'b> RenderPassCreateInfo2Builder<'b>
impl<'b> RenderPassCreateInfo2Builder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsRenderPassCreateInfo2,
pub fn flags(self, flags: RenderPassCreateFlags) -> Self
pub fn attachments( self, attachments: &'b [impl Cast<Target = AttachmentDescription2>] ) -> Self
pub fn subpasses( self, subpasses: &'b [impl Cast<Target = SubpassDescription2>] ) -> Self
pub fn dependencies( self, dependencies: &'b [impl Cast<Target = SubpassDependency2>] ) -> Self
pub fn build(self) -> RenderPassCreateInfo2
Trait Implementations§
source§impl<'b> Cast for RenderPassCreateInfo2Builder<'b>
impl<'b> Cast for RenderPassCreateInfo2Builder<'b>
§type Target = RenderPassCreateInfo2
type Target = RenderPassCreateInfo2
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for RenderPassCreateInfo2Builder<'b>
impl<'b> Clone for RenderPassCreateInfo2Builder<'b>
source§fn clone(&self) -> RenderPassCreateInfo2Builder<'b>
fn clone(&self) -> RenderPassCreateInfo2Builder<'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 RenderPassCreateInfo2Builder<'b>
impl<'b> Debug for RenderPassCreateInfo2Builder<'b>
source§impl<'b> Default for RenderPassCreateInfo2Builder<'b>
impl<'b> Default for RenderPassCreateInfo2Builder<'b>
source§fn default() -> RenderPassCreateInfo2Builder<'b>
fn default() -> RenderPassCreateInfo2Builder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for RenderPassCreateInfo2Builder<'b>
impl<'b> Deref for RenderPassCreateInfo2Builder<'b>
source§impl<'b> DerefMut for RenderPassCreateInfo2Builder<'b>
impl<'b> DerefMut for RenderPassCreateInfo2Builder<'b>
impl<'b> Copy for RenderPassCreateInfo2Builder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for RenderPassCreateInfo2Builder<'b>
impl<'b> !Send for RenderPassCreateInfo2Builder<'b>
impl<'b> !Sync for RenderPassCreateInfo2Builder<'b>
impl<'b> Unpin for RenderPassCreateInfo2Builder<'b>
impl<'b> UnwindSafe for RenderPassCreateInfo2Builder<'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