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