Enum AngularSmoothingError
pub enum AngularSmoothingError {
NonFiniteAngle,
InvalidHalfLife,
InvalidDelta,
}Expand description
Invalid angular smoothing input. Rejected operations leave state unchanged.
Variants§
NonFiniteAngle
An initial, target, or snapped angle is NaN or infinite.
InvalidHalfLife
The half-life is not finite and strictly positive.
InvalidDelta
Elapsed seconds are not finite and nonnegative. Zero is valid.
Trait Implementations§
§impl Clone for AngularSmoothingError
impl Clone for AngularSmoothingError
§fn clone(&self) -> AngularSmoothingError
fn clone(&self) -> AngularSmoothingError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AngularSmoothingError
impl Debug for AngularSmoothingError
§impl Display for AngularSmoothingError
impl Display for AngularSmoothingError
§impl Error for AngularSmoothingError
impl Error for AngularSmoothingError
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 PartialEq for AngularSmoothingError
impl PartialEq for AngularSmoothingError
impl Copy for AngularSmoothingError
impl Eq for AngularSmoothingError
impl StructuralPartialEq for AngularSmoothingError
Auto Trait Implementations§
impl Freeze for AngularSmoothingError
impl RefUnwindSafe for AngularSmoothingError
impl Send for AngularSmoothingError
impl Sync for AngularSmoothingError
impl Unpin for AngularSmoothingError
impl UnwindSafe for AngularSmoothingError
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