#[repr(C)]pub struct InputAttachmentAspectReference {
pub subpass: u32,
pub input_attachment_index: u32,
pub aspect_mask: ImageAspectFlags,
}Expand description
Native structure VkInputAttachmentAspectReference.
Fields§
§subpass: u32Native field subpass.
input_attachment_index: u32Native field inputAttachmentIndex.
aspect_mask: ImageAspectFlagsNative field aspectMask.
Implementations§
Source§impl InputAttachmentAspectReference
impl InputAttachmentAspectReference
Sourcepub fn set_subpass(self, value: u32) -> Self
pub fn set_subpass(self, value: u32) -> Self
Set native field subpass without native effects.
Sourcepub fn set_input_attachment_index(self, value: u32) -> Self
pub fn set_input_attachment_index(self, value: u32) -> Self
Set native field inputAttachmentIndex without native effects.
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.
Trait Implementations§
impl Copy for InputAttachmentAspectReference
Auto Trait Implementations§
impl Forget for InputAttachmentAspectReference
impl Freeze for InputAttachmentAspectReference
impl Move for InputAttachmentAspectReference
impl RefUnwindSafe for InputAttachmentAspectReference
impl Send for InputAttachmentAspectReference
impl Sync for InputAttachmentAspectReference
impl Unpin for InputAttachmentAspectReference
impl UnsafeUnpin for InputAttachmentAspectReference
impl UnwindSafe for InputAttachmentAspectReference
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