#[repr(i32)]pub enum CompositionDropShadowSourcePolicy {
Default = 0,
InheritFromVisualContent = 1,
}Expand description
What a drop shadow is cast from (WinUI
CompositionDropShadowSourcePolicy).
Variants§
Default = 0
The shadow uses the mask, or the shape of the visual when there is none.
InheritFromVisualContent = 1
The shadow uses the alpha of the content of the visual.
Trait Implementations§
impl Copy for CompositionDropShadowSourcePolicy
impl Eq for CompositionDropShadowSourcePolicy
impl StructuralPartialEq for CompositionDropShadowSourcePolicy
Auto Trait Implementations§
impl Freeze for CompositionDropShadowSourcePolicy
impl RefUnwindSafe for CompositionDropShadowSourcePolicy
impl Send for CompositionDropShadowSourcePolicy
impl Sync for CompositionDropShadowSourcePolicy
impl Unpin for CompositionDropShadowSourcePolicy
impl UnsafeUnpin for CompositionDropShadowSourcePolicy
impl UnwindSafe for CompositionDropShadowSourcePolicy
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