pub struct SubpassDescription2<'d>(/* private fields */);
Available on crate feature
VK_KHR_create_renderpass2
only.Implementations§
Source§impl<'d> SubpassDescription2<'d>
impl<'d> SubpassDescription2<'d>
pub const fn new() -> Self
pub const fn inputs(self, xs: &'d [AttachmentReference2]) -> Self
pub const fn colors(self, xs: &'d [AttachmentReference2]) -> Self
pub fn color_resolves(self, xs: &'d [AttachmentReference2]) -> Self
pub const fn depth_stencil(self, x: &'d AttachmentReference2) -> Self
pub const fn preserves(self, xs: &'d [u32]) -> Self
pub const fn view_mask(self, mask: u32) -> Self
Trait Implementations§
Source§impl<'d> Clone for SubpassDescription2<'d>
impl<'d> Clone for SubpassDescription2<'d>
Source§fn clone(&self) -> SubpassDescription2<'d>
fn clone(&self) -> SubpassDescription2<'d>
Returns a duplicate 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<'d> Hash for SubpassDescription2<'d>
impl<'d> Hash for SubpassDescription2<'d>
Source§impl<'d> PartialEq for SubpassDescription2<'d>
impl<'d> PartialEq for SubpassDescription2<'d>
impl<'d> Eq for SubpassDescription2<'d>
impl<'d> StructuralPartialEq for SubpassDescription2<'d>
Auto Trait Implementations§
impl<'d> Freeze for SubpassDescription2<'d>
impl<'d> RefUnwindSafe for SubpassDescription2<'d>
impl<'d> !Send for SubpassDescription2<'d>
impl<'d> !Sync for SubpassDescription2<'d>
impl<'d> Unpin for SubpassDescription2<'d>
impl<'d> UnwindSafe for SubpassDescription2<'d>
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