pub struct ColorAttachment<'a, D: Device> {
pub view: &'a D::TextureView,
pub load: LoadOp,
}Expand description
One color attachment of a render pass.
Fields§
§view: &'a D::TextureViewThe target view.
load: LoadOpLoad behavior.
Trait Implementations§
Auto Trait Implementations§
impl<'a, D> Freeze for ColorAttachment<'a, D>
impl<'a, D> RefUnwindSafe for ColorAttachment<'a, D>
impl<'a, D> Send for ColorAttachment<'a, D>
impl<'a, D> Sync for ColorAttachment<'a, D>
impl<'a, D> Unpin for ColorAttachment<'a, D>
impl<'a, D> UnsafeUnpin for ColorAttachment<'a, D>
impl<'a, D> UnwindSafe for ColorAttachment<'a, D>
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