Struct wgpu::hal::ColorAttachment
source · pub struct ColorAttachment<'a, A>where
A: Api,{
pub target: Attachment<'a, A>,
pub resolve_target: Option<Attachment<'a, A>>,
pub ops: AttachmentOps,
pub clear_value: Color,
}
Fields§
§target: Attachment<'a, A>
§resolve_target: Option<Attachment<'a, A>>
§ops: AttachmentOps
§clear_value: Color
Trait Implementations§
source§impl<A> Clone for ColorAttachment<'_, A>where
A: Api,
impl<A> Clone for ColorAttachment<'_, A>where
A: Api,
source§fn clone(&self) -> ColorAttachment<'_, A>
fn clone(&self) -> ColorAttachment<'_, A>
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 moreAuto Trait Implementations§
impl<'a, A> RefUnwindSafe for ColorAttachment<'a, A>
impl<'a, A> Send for ColorAttachment<'a, A>
impl<'a, A> Sync for ColorAttachment<'a, A>
impl<'a, A> Unpin for ColorAttachment<'a, A>
impl<'a, A> UnwindSafe for ColorAttachment<'a, A>
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