pub enum CompositionEffectFactoryError {
EffectTypeNotSupported(&'static str),
CompositeModeNotSupported(CanvasComposite),
MissingSource {
effect: &'static str,
name: String,
},
InvalidAnimatableProperty(String),
EffectTooComplex,
}Expand description
Why an effect factory did not load its effect: the ExtendedError of
WinUI’s factory, as a value.
Variants§
EffectTypeNotSupported(&'static str)
An effect of the graph is of a type the drawing contexts cannot draw (the name of its Win2D class).
CompositeModeNotSupported(CanvasComposite)
A composite effect has a mode the drawing contexts do not have
(MaskInvert).
MissingSource
An effect of the graph has an input that is not set.
InvalidAnimatableProperty(String)
An animatable property name does not name an animatable property of
a named effect of the graph (EffectName.PropertyName).
EffectTooComplex
The graph has too many effects or is nested too deeply.
Trait Implementations§
impl Eq for CompositionEffectFactoryError
Source§impl Error for CompositionEffectFactoryError
impl Error for CompositionEffectFactoryError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for CompositionEffectFactoryError
Auto Trait Implementations§
impl Freeze for CompositionEffectFactoryError
impl RefUnwindSafe for CompositionEffectFactoryError
impl Send for CompositionEffectFactoryError
impl Sync for CompositionEffectFactoryError
impl Unpin for CompositionEffectFactoryError
impl UnsafeUnpin for CompositionEffectFactoryError
impl UnwindSafe for CompositionEffectFactoryError
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