#[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§fn eq(&self, other: &CompositeOperator) -> bool
fn eq(&self, other: &CompositeOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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