#[repr(u64)]pub enum MTLBlendOperation {
Add = 0,
Subtract = 1,
ReverseSubtract = 2,
Min = 3,
Max = 4,
}Expand description
Blend operation
Variants§
Add = 0
Add source and destination
Subtract = 1
Subtract destination from source
ReverseSubtract = 2
Subtract source from destination
Min = 3
Minimum of source and destination
Max = 4
Maximum of source and destination
Trait Implementations§
Source§impl Clone for MTLBlendOperation
impl Clone for MTLBlendOperation
Source§fn clone(&self) -> MTLBlendOperation
fn clone(&self) -> MTLBlendOperation
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 MTLBlendOperation
impl Debug for MTLBlendOperation
Source§impl Default for MTLBlendOperation
impl Default for MTLBlendOperation
Source§fn default() -> MTLBlendOperation
fn default() -> MTLBlendOperation
Returns the “default value” for a type. Read more
impl Copy for MTLBlendOperation
Auto Trait Implementations§
impl Freeze for MTLBlendOperation
impl RefUnwindSafe for MTLBlendOperation
impl Send for MTLBlendOperation
impl Sync for MTLBlendOperation
impl Unpin for MTLBlendOperation
impl UnwindSafe for MTLBlendOperation
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