#[repr(u8)]pub enum AlphaOperand {
SrcAlpha = 0,
OneMinusSrcAlpha = 1,
SrcRed = 2,
OneMinusSrcRed = 3,
SrcGreen = 4,
OneMinusSrcGreen = 5,
SrcBlue = 6,
OneMinusSrcBlue = 7,
}Expand description
Texture Alpha combiner operands.
Variants§
SrcAlpha = 0
Source alpha.
OneMinusSrcAlpha = 1
Source alpha - 1.
SrcRed = 2
Source red.
OneMinusSrcRed = 3
Source red - 1.
SrcGreen = 4
Source green.
OneMinusSrcGreen = 5
Source green - 1.
SrcBlue = 6
Source blue.
OneMinusSrcBlue = 7
Source blue - 1.
Trait Implementations§
Source§impl Clone for AlphaOperand
impl Clone for AlphaOperand
Source§fn clone(&self) -> AlphaOperand
fn clone(&self) -> AlphaOperand
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlphaOperand
impl Debug for AlphaOperand
Source§impl PartialEq for AlphaOperand
impl PartialEq for AlphaOperand
Source§impl TryFrom<u8> for AlphaOperand
impl TryFrom<u8> for AlphaOperand
impl Copy for AlphaOperand
impl Eq for AlphaOperand
impl StructuralPartialEq for AlphaOperand
Auto Trait Implementations§
impl Freeze for AlphaOperand
impl RefUnwindSafe for AlphaOperand
impl Send for AlphaOperand
impl Sync for AlphaOperand
impl Unpin for AlphaOperand
impl UnwindSafe for AlphaOperand
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)