Struct vulkanalia::vk::AttachmentDescription2Builder
source · pub struct AttachmentDescription2Builder<'b> { /* private fields */ }
Expand description
A builder for a AttachmentDescription2
.
Implementations§
source§impl<'b> AttachmentDescription2Builder<'b>
impl<'b> AttachmentDescription2Builder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsAttachmentDescription2,
pub fn flags(self, flags: AttachmentDescriptionFlags) -> Self
pub fn format(self, format: Format) -> Self
pub fn samples(self, samples: SampleCountFlags) -> Self
pub fn load_op(self, load_op: AttachmentLoadOp) -> Self
pub fn store_op(self, store_op: AttachmentStoreOp) -> Self
pub fn stencil_load_op(self, stencil_load_op: AttachmentLoadOp) -> Self
pub fn stencil_store_op(self, stencil_store_op: AttachmentStoreOp) -> Self
pub fn initial_layout(self, initial_layout: ImageLayout) -> Self
pub fn final_layout(self, final_layout: ImageLayout) -> Self
pub fn build(self) -> AttachmentDescription2
Trait Implementations§
source§impl<'b> Cast for AttachmentDescription2Builder<'b>
impl<'b> Cast for AttachmentDescription2Builder<'b>
§type Target = AttachmentDescription2
type Target = AttachmentDescription2
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for AttachmentDescription2Builder<'b>
impl<'b> Clone for AttachmentDescription2Builder<'b>
source§fn clone(&self) -> AttachmentDescription2Builder<'b>
fn clone(&self) -> AttachmentDescription2Builder<'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 AttachmentDescription2Builder<'b>
impl<'b> Debug for AttachmentDescription2Builder<'b>
source§impl<'b> Default for AttachmentDescription2Builder<'b>
impl<'b> Default for AttachmentDescription2Builder<'b>
source§fn default() -> AttachmentDescription2Builder<'b>
fn default() -> AttachmentDescription2Builder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for AttachmentDescription2Builder<'b>
impl<'b> Deref for AttachmentDescription2Builder<'b>
source§impl<'b> DerefMut for AttachmentDescription2Builder<'b>
impl<'b> DerefMut for AttachmentDescription2Builder<'b>
impl<'b> Copy for AttachmentDescription2Builder<'b>
Auto Trait Implementations§
impl<'b> Freeze for AttachmentDescription2Builder<'b>
impl<'b> RefUnwindSafe for AttachmentDescription2Builder<'b>
impl<'b> !Send for AttachmentDescription2Builder<'b>
impl<'b> !Sync for AttachmentDescription2Builder<'b>
impl<'b> Unpin for AttachmentDescription2Builder<'b>
impl<'b> UnwindSafe for AttachmentDescription2Builder<'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