pub struct ContactTimeWarpControlPointV1 { /* private fields */ }Expand description
One source-to-output normalized time-warp knot.
Implementations§
Source§impl ContactTimeWarpControlPointV1
impl ContactTimeWarpControlPointV1
Sourcepub const fn new(input_time: f64, output_time: f64) -> Self
pub const fn new(input_time: f64, output_time: f64) -> Self
Construct one structurally representable control point.
Sourcepub const fn input_time(self) -> f64
pub const fn input_time(self) -> f64
Source normalized time.
Sourcepub const fn output_time(self) -> f64
pub const fn output_time(self) -> f64
Output normalized time.
Trait Implementations§
Source§impl Clone for ContactTimeWarpControlPointV1
impl Clone for ContactTimeWarpControlPointV1
Source§fn clone(&self) -> ContactTimeWarpControlPointV1
fn clone(&self) -> ContactTimeWarpControlPointV1
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 moreimpl Copy for ContactTimeWarpControlPointV1
Source§impl<'de> Deserialize<'de> for ContactTimeWarpControlPointV1
impl<'de> Deserialize<'de> for ContactTimeWarpControlPointV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ContactTimeWarpControlPointV1
Auto Trait Implementations§
impl Freeze for ContactTimeWarpControlPointV1
impl RefUnwindSafe for ContactTimeWarpControlPointV1
impl Send for ContactTimeWarpControlPointV1
impl Sync for ContactTimeWarpControlPointV1
impl Unpin for ContactTimeWarpControlPointV1
impl UnsafeUnpin for ContactTimeWarpControlPointV1
impl UnwindSafe for ContactTimeWarpControlPointV1
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