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