[−][src]Enum femtovg::CompositeOperation
Predefined composite oprations.
Variants
Displays the source over the destination.
Displays the source in the destination, i.e. only the part of the source inside the destination is shown and the destination is transparent.
Only displays the part of the source that is outside the destination, which is made transparent.
Displays the source on top of the destination. The part of the source outside the destination is not shown.
Displays the destination over the source.
Only displays the part of the destination that is inside the source, which is made transparent.
Only displays the part of the destination that is outside the source, which is made transparent.
Displays the destination on top of the source. The part of the destination that is outside the source is not shown.
Displays the source together with the destination, the overlapping area is rendered lighter.
Ignores the destination and just displays the source.
Only the areas that exclusively belong either to the destination or the source are displayed. Overlapping parts are ignored.
Trait Implementations
impl Clone for CompositeOperation
[src]
pub fn clone(&self) -> CompositeOperation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CompositeOperation
[src]
impl Debug for CompositeOperation
[src]
impl Eq for CompositeOperation
[src]
impl Hash for CompositeOperation
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<CompositeOperation> for CompositeOperation
[src]
pub fn eq(&self, other: &CompositeOperation) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<CompositeOperation> for CompositeOperation
[src]
pub fn partial_cmp(&self, other: &CompositeOperation) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for CompositeOperation
[src]
impl StructuralPartialEq for CompositeOperation
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompositeOperation
[src]
impl Send for CompositeOperation
[src]
impl Sync for CompositeOperation
[src]
impl Unpin for CompositeOperation
[src]
impl UnwindSafe for CompositeOperation
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,