Trait CurvedChange

Source
pub trait CurvedChange {
    // Required methods
    fn offset(&self, other: &Self) -> Self;
    fn delta(&self, other: &Self) -> Self;
    fn dot(&self, other: &Self) -> Scalar;
}

Required Methods§

Source

fn offset(&self, other: &Self) -> Self

Source

fn delta(&self, other: &Self) -> Self

Source

fn dot(&self, other: &Self) -> Scalar

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CurvedChange for (Scalar, Scalar)

Source§

fn offset(&self, other: &Self) -> Self

Source§

fn delta(&self, other: &Self) -> Self

Source§

fn dot(&self, other: &Self) -> Scalar

Source§

impl<T> CurvedChange for Arc<RwLock<T>>
where T: CurvedChange,

Source§

fn offset(&self, other: &Self) -> Self

Source§

fn delta(&self, other: &Self) -> Self

Source§

fn dot(&self, other: &Self) -> Scalar

Implementors§