Struct vulkanalia::vk::AttachmentDescriptionBuilder
source · #[repr(transparent)]pub struct AttachmentDescriptionBuilder { /* private fields */ }
Expand description
A builder for a AttachmentDescription
.
Implementations§
source§impl AttachmentDescriptionBuilder
impl AttachmentDescriptionBuilder
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) -> AttachmentDescription
Trait Implementations§
source§impl Cast for AttachmentDescriptionBuilder
impl Cast for AttachmentDescriptionBuilder
§type Target = AttachmentDescription
type Target = AttachmentDescription
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AttachmentDescriptionBuilder
impl Clone for AttachmentDescriptionBuilder
source§fn clone(&self) -> AttachmentDescriptionBuilder
fn clone(&self) -> AttachmentDescriptionBuilder
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 Debug for AttachmentDescriptionBuilder
impl Debug for AttachmentDescriptionBuilder
source§impl Default for AttachmentDescriptionBuilder
impl Default for AttachmentDescriptionBuilder
source§fn default() -> AttachmentDescriptionBuilder
fn default() -> AttachmentDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl Deref for AttachmentDescriptionBuilder
impl Deref for AttachmentDescriptionBuilder
impl Copy for AttachmentDescriptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AttachmentDescriptionBuilder
impl Send for AttachmentDescriptionBuilder
impl Sync for AttachmentDescriptionBuilder
impl Unpin for AttachmentDescriptionBuilder
impl UnwindSafe for AttachmentDescriptionBuilder
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