#[repr(i32)]pub enum CompositionEffectFactoryLoadStatus {
Success = 0,
EffectTooComplex = 1,
Pending = 2,
Other = -1,
}Expand description
Whether an effect factory loaded its effect (WinUI
Microsoft.UI.Composition.CompositionEffectFactoryLoadStatus).
Variants§
Success = 0
The effect was loaded; its brushes draw it.
EffectTooComplex = 1
The graph has too many effects or is nested too deeply.
Pending = 2
The effect is still loading (never reported: loading is immediate).
Other = -1
The effect cannot be loaded: an unsupported effect type or composite
mode, a missing source, an animatable property that does not exist.
CompositionEffectFactory::extended_error says which.
Trait Implementations§
impl Copy for CompositionEffectFactoryLoadStatus
impl Eq for CompositionEffectFactoryLoadStatus
impl StructuralPartialEq for CompositionEffectFactoryLoadStatus
Auto Trait Implementations§
impl Freeze for CompositionEffectFactoryLoadStatus
impl RefUnwindSafe for CompositionEffectFactoryLoadStatus
impl Send for CompositionEffectFactoryLoadStatus
impl Sync for CompositionEffectFactoryLoadStatus
impl Unpin for CompositionEffectFactoryLoadStatus
impl UnsafeUnpin for CompositionEffectFactoryLoadStatus
impl UnwindSafe for CompositionEffectFactoryLoadStatus
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