#[repr(C)]pub struct WGPUColorTargetState {
pub nextInChain: *mut WGPUChainedStruct,
pub format: WGPUTextureFormat,
pub blend: *const WGPUBlendState,
pub writeMask: WGPUColorWriteMask,
}Fields§
§nextInChain: *mut WGPUChainedStruct§format: WGPUTextureFormat§blend: *const WGPUBlendState§writeMask: WGPUColorWriteMaskTrait Implementations§
Source§impl Clone for WGPUColorTargetState
impl Clone for WGPUColorTargetState
Source§fn clone(&self) -> WGPUColorTargetState
fn clone(&self) -> WGPUColorTargetState
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 Debug for WGPUColorTargetState
impl Debug for WGPUColorTargetState
Source§impl Default for WGPUColorTargetState
impl Default for WGPUColorTargetState
Source§impl Hash for WGPUColorTargetState
impl Hash for WGPUColorTargetState
Source§impl Ord for WGPUColorTargetState
impl Ord for WGPUColorTargetState
Source§fn cmp(&self, other: &WGPUColorTargetState) -> Ordering
fn cmp(&self, other: &WGPUColorTargetState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUColorTargetState
impl PartialEq for WGPUColorTargetState
Source§impl PartialOrd for WGPUColorTargetState
impl PartialOrd for WGPUColorTargetState
impl Copy for WGPUColorTargetState
impl Eq for WGPUColorTargetState
impl StructuralPartialEq for WGPUColorTargetState
Auto Trait Implementations§
impl Freeze for WGPUColorTargetState
impl RefUnwindSafe for WGPUColorTargetState
impl !Send for WGPUColorTargetState
impl !Sync for WGPUColorTargetState
impl Unpin for WGPUColorTargetState
impl UnwindSafe for WGPUColorTargetState
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