#[repr(C)]pub struct ClearAttachment {
pub aspect_mask: ImageAspectFlags,
pub color_attachment: u32,
pub clear_value: ClearValue,
}Expand description
Native structure VkClearAttachment.
Fields§
§aspect_mask: ImageAspectFlagsNative field aspectMask.
color_attachment: u32Native field colorAttachment.
clear_value: ClearValueNative field clearValue.
Implementations§
Source§impl ClearAttachment
impl ClearAttachment
Sourcepub fn set_aspect_mask(self, value: ImageAspectFlags) -> Self
pub fn set_aspect_mask(self, value: ImageAspectFlags) -> Self
Set native field aspectMask without native effects.
Sourcepub fn set_color_attachment(self, value: u32) -> Self
pub fn set_color_attachment(self, value: u32) -> Self
Set native field colorAttachment without native effects.
Sourcepub fn set_clear_value(self, value: ClearValue) -> Self
pub fn set_clear_value(self, value: ClearValue) -> Self
Set native field clearValue without native effects.
Trait Implementations§
Source§impl Clone for ClearAttachment
impl Clone for ClearAttachment
impl Copy for ClearAttachment
Auto Trait Implementations§
impl Forget for ClearAttachment
impl Freeze for ClearAttachment
impl Move for ClearAttachment
impl RefUnwindSafe for ClearAttachment
impl Send for ClearAttachment
impl Sync for ClearAttachment
impl Unpin for ClearAttachment
impl UnsafeUnpin 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