#[repr(C)]pub struct InputAttachmentAspectReference {
pub subpass: u32,
pub inputAttachmentIndex: u32,
pub aspectMask: ImageAspectFlags,
}Fields§
§subpass: u32§inputAttachmentIndex: u32§aspectMask: ImageAspectFlagsImplementations§
Source§impl InputAttachmentAspectReference
impl InputAttachmentAspectReference
pub fn new() -> Self
pub fn subpass(self, subpass: u32) -> Self
pub fn inputAttachmentIndex(self, inputAttachmentIndex: u32) -> Self
pub fn aspectMask(self, aspectMask: ImageAspectFlags) -> Self
Trait Implementations§
Source§impl Clone for InputAttachmentAspectReference
impl Clone for InputAttachmentAspectReference
Source§fn clone(&self) -> InputAttachmentAspectReference
fn clone(&self) -> InputAttachmentAspectReference
Returns a duplicate 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 Default for InputAttachmentAspectReference
impl Default for InputAttachmentAspectReference
Source§fn default() -> InputAttachmentAspectReference
fn default() -> InputAttachmentAspectReference
Returns the “default value” for a type. Read more
impl Copy for InputAttachmentAspectReference
Auto Trait Implementations§
impl Freeze for InputAttachmentAspectReference
impl RefUnwindSafe for InputAttachmentAspectReference
impl Send for InputAttachmentAspectReference
impl Sync for InputAttachmentAspectReference
impl Unpin 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