#[non_exhaustive]pub enum EffectProblem {
UnknownBuiltin,
Version {
expected: u32,
},
Kind,
UnknownParam(String),
InvalidParam(String),
Inputs,
Resources,
}Expand description
Why a ClipEffect naming a built-in does not match it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnknownBuiltin
The id is under BUILTIN_EFFECT_PREFIX but names no built-in.
Version
The version is not the built-in’s.
Kind
A definition of one kind where another belongs: an effect, a transition or a generator.
UnknownParam(String)
A parameter the definition does not declare.
InvalidParam(String)
A parameter value of the wrong type or outside the declared range.
Inputs
Named inputs other than exactly the declared ones.
Resources
Resources other than exactly the declared ones.
Trait Implementations§
Source§impl Clone for EffectProblem
impl Clone for EffectProblem
Source§impl Debug for EffectProblem
impl Debug for EffectProblem
Source§impl Display for EffectProblem
impl Display for EffectProblem
impl Eq for EffectProblem
Source§impl PartialEq for EffectProblem
impl PartialEq for EffectProblem
impl StructuralPartialEq for EffectProblem
Auto Trait Implementations§
impl Forget for EffectProblem
impl Freeze for EffectProblem
impl Move for EffectProblem
impl RefUnwindSafe for EffectProblem
impl Send for EffectProblemwhere
RawVecInner: Send,
impl Sync for EffectProblemwhere
RawVecInner: Sync,
impl Unpin for EffectProblem
impl UnsafeUnpin for EffectProblem
impl UnwindSafe for EffectProblemwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
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