#[non_exhaustive]pub enum MaskComposite {
Add,
Exclude,
Intersect,
Subtract,
Raw(Raw),
}Expand description
A value of mask-composite.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Add
add.
Exclude
exclude.
Intersect
intersect.
Subtract
subtract.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for MaskComposite
impl Clone for MaskComposite
Source§fn clone(&self) -> MaskComposite
fn clone(&self) -> MaskComposite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MaskComposite
impl Debug for MaskComposite
Source§impl Display for MaskComposite
impl Display for MaskComposite
Source§impl From<Raw> for MaskComposite
impl From<Raw> for MaskComposite
Source§impl PartialEq for MaskComposite
impl PartialEq for MaskComposite
impl StructuralPartialEq for MaskComposite
Auto Trait Implementations§
impl Freeze for MaskComposite
impl RefUnwindSafe for MaskComposite
impl Send for MaskComposite
impl Sync for MaskComposite
impl Unpin for MaskComposite
impl UnsafeUnpin for MaskComposite
impl UnwindSafe for MaskComposite
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