#[repr(i32)]pub enum CompositionCompositeMode {
Inherit = 0,
SourceOver = 1,
DestinationInvert = 2,
MinBlend = 3,
}Expand description
How a visual is blended with what is behind it (WinUI
CompositionCompositeMode).
Deviation (winui-composition.md): stored only; the drawing contexts blend whole subtrees with source-over only.
Variants§
Inherit = 0
The mode of the parent visual (the WinUI default).
SourceOver = 1
The visual is drawn over what is behind it.
DestinationInvert = 2
What is behind the visual is inverted where the visual is.
MinBlend = 3
The minimum of the visual and what is behind it.
Trait Implementations§
Source§impl Clone for CompositionCompositeMode
impl Clone for CompositionCompositeMode
impl Copy for CompositionCompositeMode
Source§impl Debug for CompositionCompositeMode
impl Debug for CompositionCompositeMode
Source§impl Default for CompositionCompositeMode
impl Default for CompositionCompositeMode
impl Eq for CompositionCompositeMode
Source§impl Hash for CompositionCompositeMode
impl Hash for CompositionCompositeMode
Source§impl PartialEq for CompositionCompositeMode
impl PartialEq for CompositionCompositeMode
impl StructuralPartialEq for CompositionCompositeMode
Auto Trait Implementations§
impl Freeze for CompositionCompositeMode
impl RefUnwindSafe for CompositionCompositeMode
impl Send for CompositionCompositeMode
impl Sync for CompositionCompositeMode
impl Unpin for CompositionCompositeMode
impl UnsafeUnpin for CompositionCompositeMode
impl UnwindSafe for CompositionCompositeMode
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more