#[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 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 moreimpl Copy 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