#[repr(C)]pub struct WGPUBlendState {
pub color: WGPUBlendComponent,
pub alpha: WGPUBlendComponent,
}Fields§
§color: WGPUBlendComponent§alpha: WGPUBlendComponentTrait Implementations§
Source§impl Clone for WGPUBlendState
impl Clone for WGPUBlendState
Source§fn clone(&self) -> WGPUBlendState
fn clone(&self) -> WGPUBlendState
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 WGPUBlendState
impl Debug for WGPUBlendState
Source§impl Default for WGPUBlendState
impl Default for WGPUBlendState
Source§impl Hash for WGPUBlendState
impl Hash for WGPUBlendState
Source§impl Ord for WGPUBlendState
impl Ord for WGPUBlendState
Source§fn cmp(&self, other: &WGPUBlendState) -> Ordering
fn cmp(&self, other: &WGPUBlendState) -> 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 WGPUBlendState
impl PartialEq for WGPUBlendState
Source§impl PartialOrd for WGPUBlendState
impl PartialOrd for WGPUBlendState
impl Copy for WGPUBlendState
impl Eq for WGPUBlendState
impl StructuralPartialEq for WGPUBlendState
Auto Trait Implementations§
impl Freeze for WGPUBlendState
impl RefUnwindSafe for WGPUBlendState
impl Send for WGPUBlendState
impl Sync for WGPUBlendState
impl Unpin for WGPUBlendState
impl UnwindSafe for WGPUBlendState
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