#[repr(C)]pub enum CompositeOperator {
Over,
In,
Atop,
Out,
Xor,
Lighter,
Arithmetic([f32; 4]),
}
Expand description
Available composite operoations for the composite filter primitive
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CompositeOperator
impl Clone for CompositeOperator
Source§fn clone(&self) -> CompositeOperator
fn clone(&self) -> CompositeOperator
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 CompositeOperator
impl Debug for CompositeOperator
Source§impl Default for CompositeOperator
impl Default for CompositeOperator
Source§impl<'de> Deserialize<'de> for CompositeOperator
impl<'de> Deserialize<'de> for CompositeOperator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MallocSizeOf for CompositeOperator
impl MallocSizeOf for CompositeOperator
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for CompositeOperator
impl PartialEq for CompositeOperator
Source§impl Peek for CompositeOperator
impl Peek for CompositeOperator
Source§impl Poke for CompositeOperator
impl Poke for CompositeOperator
Source§impl Serialize for CompositeOperator
impl Serialize for CompositeOperator
impl Copy for CompositeOperator
impl StructuralPartialEq for CompositeOperator
Auto Trait Implementations§
impl Freeze for CompositeOperator
impl RefUnwindSafe for CompositeOperator
impl Send for CompositeOperator
impl Sync for CompositeOperator
impl Unpin for CompositeOperator
impl UnwindSafe for CompositeOperator
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