#[repr(i32)]pub enum CompositionBorderMode {
Inherit = 0,
Soft = 1,
Hard = 2,
}Expand description
How the edges of a visual are antialiased (WinUI CompositionBorderMode).
Deviation (winui-composition.md): stored only; the drawing contexts antialias every edge.
Variants§
Inherit = 0
The mode of the parent visual (the WinUI default).
Soft = 1
Antialiased edges.
Hard = 2
Aliased edges.
Trait Implementations§
Source§impl BatchValue for CompositionBorderMode
impl BatchValue for CompositionBorderMode
Source§impl Clone for CompositionBorderMode
impl Clone for CompositionBorderMode
impl Copy for CompositionBorderMode
Source§impl Debug for CompositionBorderMode
impl Debug for CompositionBorderMode
Source§impl Default for CompositionBorderMode
impl Default for CompositionBorderMode
impl Eq for CompositionBorderMode
Source§impl Hash for CompositionBorderMode
impl Hash for CompositionBorderMode
Source§impl PartialEq for CompositionBorderMode
impl PartialEq for CompositionBorderMode
impl StructuralPartialEq for CompositionBorderMode
Auto Trait Implementations§
impl Freeze for CompositionBorderMode
impl RefUnwindSafe for CompositionBorderMode
impl Send for CompositionBorderMode
impl Sync for CompositionBorderMode
impl Unpin for CompositionBorderMode
impl UnsafeUnpin for CompositionBorderMode
impl UnwindSafe for CompositionBorderMode
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