#[repr(C)]pub struct WGPURenderPassColorAttachment {
pub nextInChain: *mut WGPUChainedStruct,
pub view: WGPUTextureView,
pub depthSlice: u32,
pub resolveTarget: WGPUTextureView,
pub loadOp: WGPULoadOp,
pub storeOp: WGPUStoreOp,
pub clearValue: WGPUColor,
}Fields§
§nextInChain: *mut WGPUChainedStruct§view: WGPUTextureView§depthSlice: u32§resolveTarget: WGPUTextureView§loadOp: WGPULoadOp§storeOp: WGPUStoreOp§clearValue: WGPUColorTrait Implementations§
Source§impl Clone for WGPURenderPassColorAttachment
impl Clone for WGPURenderPassColorAttachment
Source§fn clone(&self) -> WGPURenderPassColorAttachment
fn clone(&self) -> WGPURenderPassColorAttachment
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 PartialEq for WGPURenderPassColorAttachment
impl PartialEq for WGPURenderPassColorAttachment
Source§fn eq(&self, other: &WGPURenderPassColorAttachment) -> bool
fn eq(&self, other: &WGPURenderPassColorAttachment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPURenderPassColorAttachment
impl PartialOrd for WGPURenderPassColorAttachment
impl Copy for WGPURenderPassColorAttachment
impl StructuralPartialEq for WGPURenderPassColorAttachment
Auto Trait Implementations§
impl Freeze for WGPURenderPassColorAttachment
impl RefUnwindSafe for WGPURenderPassColorAttachment
impl !Send for WGPURenderPassColorAttachment
impl !Sync for WGPURenderPassColorAttachment
impl Unpin for WGPURenderPassColorAttachment
impl UnwindSafe for WGPURenderPassColorAttachment
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