#[non_exhaustive]pub enum ControlReason {
UnknownProperty,
NotAnimatable(PropKind),
NoKeyframes,
Rejected(PropError),
}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.
UnknownProperty
The element declares no property of that name.
NotAnimatable(PropKind)
The property exists but its kind carries no number to animate.
NoKeyframes
The binding has no keyframes, so there is nothing to sample.
Rejected(PropError)
The element refused a sampled value.
Trait Implementations§
Source§impl Clone for ControlReason
impl Clone for ControlReason
Source§fn clone(&self) -> ControlReason
fn clone(&self) -> ControlReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControlReason
impl Debug for ControlReason
Source§impl PartialEq for ControlReason
impl PartialEq for ControlReason
impl StructuralPartialEq for ControlReason
Auto Trait Implementations§
impl Freeze for ControlReason
impl RefUnwindSafe for ControlReason
impl Send for ControlReason
impl Sync for ControlReason
impl Unpin for ControlReason
impl UnsafeUnpin for ControlReason
impl UnwindSafe for ControlReason
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