#[repr(C)]pub struct ClearAttachment { /* private fields */ }
Expand description
A VkClearAttachment
.
Implementations§
Source§impl ClearAttachment
impl ClearAttachment
pub fn builder() -> ClearAttachmentBuilder
pub unsafe fn from_raw(raw: VkClearAttachment) -> ClearAttachment
pub fn aspect_mask<'a>(&'a self) -> ImageAspectFlags
pub fn color_attachment<'a>(&'a self) -> u32
pub fn clear_value<'a>(&'a self) -> ClearValue
pub fn set_aspect_mask<'m>(&mut self, aspect_mask: ImageAspectFlags)
pub fn set_color_attachment<'m>(&mut self, color_attachment: u32)
pub fn set_clear_value<'m>(&mut self, clear_value: ClearValue)
pub fn as_raw(&self) -> &VkClearAttachment
Trait Implementations§
Source§impl Clone for ClearAttachment
impl Clone for ClearAttachment
Source§fn clone(&self) -> ClearAttachment
fn clone(&self) -> ClearAttachment
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 ClearAttachment
impl Debug for ClearAttachment
Source§impl Default for ClearAttachment
impl Default for ClearAttachment
Source§fn default() -> ClearAttachment
fn default() -> ClearAttachment
Returns the “default value” for a type. Read more
Source§impl From<ClearAttachment> for VkClearAttachment
impl From<ClearAttachment> for VkClearAttachment
Source§fn from(f: ClearAttachment) -> VkClearAttachment
fn from(f: ClearAttachment) -> VkClearAttachment
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClearAttachment
impl RefUnwindSafe for ClearAttachment
impl Send for ClearAttachment
impl Sync for ClearAttachment
impl Unpin for ClearAttachment
impl UnwindSafe for ClearAttachment
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