pub struct AttachmentDescription2(/* private fields */);
Available on crate feature
VK_KHR_create_renderpass2
only.Implementations§
Source§impl AttachmentDescription2
impl AttachmentDescription2
pub const fn new(format: VkFormat) -> Self
pub const fn samples(self, samples: VkSampleCountFlagBits) -> Self
pub const fn color_memory_op(self, load: LoadOp, store: StoreOp) -> Self
pub const fn stencil_memory_op(self, load: LoadOp, store: StoreOp) -> Self
pub const fn layout_transition( self, init: ImageLayout, fini: ImageLayout, ) -> Self
pub const fn layout(self, layout: ImageLayout) -> Self
pub const fn with_layout_from(self, trans: LayoutTransition) -> Self
pub const fn with_layout_to(self, trans: LayoutTransition) -> Self
pub const fn may_alias(self) -> Self
Trait Implementations§
Source§impl Clone for AttachmentDescription2
impl Clone for AttachmentDescription2
Source§fn clone(&self) -> AttachmentDescription2
fn clone(&self) -> AttachmentDescription2
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 Hash for AttachmentDescription2
impl Hash for AttachmentDescription2
Source§impl PartialEq for AttachmentDescription2
impl PartialEq for AttachmentDescription2
impl Eq for AttachmentDescription2
impl StructuralPartialEq for AttachmentDescription2
Auto Trait Implementations§
impl Freeze for AttachmentDescription2
impl RefUnwindSafe for AttachmentDescription2
impl !Send for AttachmentDescription2
impl !Sync for AttachmentDescription2
impl Unpin for AttachmentDescription2
impl UnwindSafe for AttachmentDescription2
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