pub struct AttachmentOps {
pub load: AttachmentLoadOp,
pub store: AttachmentStoreOp,
}
Expand description
Attachment operations.
Fields§
§load: AttachmentLoadOp
Indicates how the data of the attachment will be loaded at first usage at the beginning of the subpass.
store: AttachmentStoreOp
Whether or not data from the store operation will be preserved after the subpass.
Implementations§
Source§impl AttachmentOps
impl AttachmentOps
Sourcepub fn new(load: AttachmentLoadOp, store: AttachmentStoreOp) -> Self
pub fn new(load: AttachmentLoadOp, store: AttachmentStoreOp) -> Self
Convenience function to create a new AttachmentOps
.
Trait Implementations§
Source§impl Clone for AttachmentOps
impl Clone for AttachmentOps
Source§fn clone(&self) -> AttachmentOps
fn clone(&self) -> AttachmentOps
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 AttachmentOps
impl Debug for AttachmentOps
Source§impl Hash for AttachmentOps
impl Hash for AttachmentOps
Source§impl PartialEq for AttachmentOps
impl PartialEq for AttachmentOps
impl Copy for AttachmentOps
impl Eq for AttachmentOps
impl StructuralPartialEq for AttachmentOps
Auto Trait Implementations§
impl Freeze for AttachmentOps
impl RefUnwindSafe for AttachmentOps
impl Send for AttachmentOps
impl Sync for AttachmentOps
impl Unpin for AttachmentOps
impl UnwindSafe for AttachmentOps
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