pub enum TimeCurveError {
TooFewPoints,
NotAscending,
NotFinite,
TooManyKeys,
BeyondTicks,
}Expand description
Why time_curve_from_speeds made no curve.
Variants§
TooFewPoints
Fewer than two points, or every point at one time.
NotAscending
A point lies before the one it follows.
NotFinite
A speed is not finite.
TooManyKeys
The curve would hold more than MAX_KEYFRAMES keyframes.
BeyondTicks
The curve reaches a source time that does not fit in ticks.
Trait Implementations§
Source§impl Clone for TimeCurveError
impl Clone for TimeCurveError
impl Copy for TimeCurveError
Source§impl Debug for TimeCurveError
impl Debug for TimeCurveError
Source§impl Display for TimeCurveError
impl Display for TimeCurveError
impl Eq for TimeCurveError
Source§impl Error for TimeCurveError
impl Error for TimeCurveError
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()
Source§impl PartialEq for TimeCurveError
impl PartialEq for TimeCurveError
impl StructuralPartialEq for TimeCurveError
Auto Trait Implementations§
impl Forget for TimeCurveError
impl Freeze for TimeCurveError
impl Move for TimeCurveError
impl RefUnwindSafe for TimeCurveError
impl Send for TimeCurveError
impl Sync for TimeCurveError
impl Unpin for TimeCurveError
impl UnsafeUnpin for TimeCurveError
impl UnwindSafe for TimeCurveError
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