#[repr(i32)]pub enum CompositionMappingMode {
Absolute = 0,
Relative = 1,
}Expand description
How the points of a gradient brush are measured (WinUI
CompositionMappingMode).
Variants§
Absolute = 0
In pixels of the area the brush paints.
Relative = 1
As fractions of the size of the area the brush paints (the WinUI default).
Trait Implementations§
Source§impl Clone for CompositionMappingMode
impl Clone for CompositionMappingMode
impl Copy for CompositionMappingMode
Source§impl Debug for CompositionMappingMode
impl Debug for CompositionMappingMode
Source§impl Default for CompositionMappingMode
impl Default for CompositionMappingMode
impl Eq for CompositionMappingMode
Source§impl Hash for CompositionMappingMode
impl Hash for CompositionMappingMode
Source§impl PartialEq for CompositionMappingMode
impl PartialEq for CompositionMappingMode
impl StructuralPartialEq for CompositionMappingMode
Auto Trait Implementations§
impl Freeze for CompositionMappingMode
impl RefUnwindSafe for CompositionMappingMode
impl Send for CompositionMappingMode
impl Sync for CompositionMappingMode
impl Unpin for CompositionMappingMode
impl UnsafeUnpin for CompositionMappingMode
impl UnwindSafe for CompositionMappingMode
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