#[repr(i32)]pub enum EffectBorderMode {
Soft = 0,
Hard = 1,
}Expand description
How a blur treats the edges of its input (Win2D EffectBorderMode):
Soft fades the edges (the blur reads transparent pixels beyond its
area), Hard keeps them (the blur reads its source beyond the area and
its output is cut to the area).
Variants§
Trait Implementations§
Source§impl Clone for EffectBorderMode
impl Clone for EffectBorderMode
impl Copy for EffectBorderMode
Source§impl Debug for EffectBorderMode
impl Debug for EffectBorderMode
Source§impl Default for EffectBorderMode
impl Default for EffectBorderMode
impl Eq for EffectBorderMode
Source§impl Hash for EffectBorderMode
impl Hash for EffectBorderMode
Source§impl PartialEq for EffectBorderMode
impl PartialEq for EffectBorderMode
impl StructuralPartialEq for EffectBorderMode
Auto Trait Implementations§
impl Freeze for EffectBorderMode
impl RefUnwindSafe for EffectBorderMode
impl Send for EffectBorderMode
impl Sync for EffectBorderMode
impl Unpin for EffectBorderMode
impl UnsafeUnpin for EffectBorderMode
impl UnwindSafe for EffectBorderMode
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