#[repr(u32)]pub enum WGPUCompositeAlphaMode {
Auto = 0,
Opaque = 1,
Premultiplied = 2,
Unpremultiplied = 3,
Inherit = 4,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WGPUCompositeAlphaMode
impl Clone for WGPUCompositeAlphaMode
Source§fn clone(&self) -> WGPUCompositeAlphaMode
fn clone(&self) -> WGPUCompositeAlphaMode
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 moreSource§impl Debug for WGPUCompositeAlphaMode
impl Debug for WGPUCompositeAlphaMode
Source§impl Display for WGPUCompositeAlphaMode
impl Display for WGPUCompositeAlphaMode
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUCompositeAlphaMode> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUCompositeAlphaMode> for &'static str
Source§fn from(x: &'_derivative_strum WGPUCompositeAlphaMode) -> &'static str
fn from(x: &'_derivative_strum WGPUCompositeAlphaMode) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUCompositeAlphaMode> for &'static str
impl From<WGPUCompositeAlphaMode> for &'static str
Source§fn from(x: WGPUCompositeAlphaMode) -> &'static str
fn from(x: WGPUCompositeAlphaMode) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUCompositeAlphaMode
impl FromStr for WGPUCompositeAlphaMode
Source§impl Hash for WGPUCompositeAlphaMode
impl Hash for WGPUCompositeAlphaMode
Source§impl PartialEq for WGPUCompositeAlphaMode
impl PartialEq for WGPUCompositeAlphaMode
Source§impl TryFrom<&str> for WGPUCompositeAlphaMode
impl TryFrom<&str> for WGPUCompositeAlphaMode
impl Copy for WGPUCompositeAlphaMode
impl Eq for WGPUCompositeAlphaMode
impl StructuralPartialEq for WGPUCompositeAlphaMode
Auto Trait Implementations§
impl Freeze for WGPUCompositeAlphaMode
impl RefUnwindSafe for WGPUCompositeAlphaMode
impl Send for WGPUCompositeAlphaMode
impl Sync for WGPUCompositeAlphaMode
impl Unpin for WGPUCompositeAlphaMode
impl UnwindSafe for WGPUCompositeAlphaMode
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