Default for Spline
This commit is contained in:
parent
389f4d182d
commit
c6ba8476f2
@ -27,7 +27,7 @@ use std::cmp::Ordering;
|
|||||||
/// for the required interpolation mode, you get `None`.
|
/// for the required interpolation mode, you get `None`.
|
||||||
/// - [`Spline::clamped_sample`]: behaves like [`Spline::sample`] but will return either the first
|
/// - [`Spline::clamped_sample`]: behaves like [`Spline::sample`] but will return either the first
|
||||||
/// or last key if out of bound; it will return `None` if not enough key.
|
/// or last key if out of bound; it will return `None` if not enough key.
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone, Default)]
|
||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
any(feature = "serialization", feature = "serde"),
|
any(feature = "serialization", feature = "serde"),
|
||||||
derive(Deserialize, Serialize)
|
derive(Deserialize, Serialize)
|
||||||
|
Loading…
Reference in New Issue
Block a user