Trait Diff

Source
pub trait Diff {
    // Required method
    fn diff(&self, other: &Self) -> f64;
}

Required Methods§

Source

fn diff(&self, other: &Self) -> f64

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 Diff for f32

Source§

fn diff(&self, other: &Self) -> f64

Source§

impl Diff for f64

Source§

fn diff(&self, other: &Self) -> f64

Source§

impl Diff for i8

Source§

fn diff(&self, other: &Self) -> f64

Source§

impl Diff for i16

Source§

fn diff(&self, other: &Self) -> f64

Source§

impl Diff for i32

Source§

fn diff(&self, other: &Self) -> f64

Source§

impl Diff for u8

Source§

fn diff(&self, other: &Self) -> f64

Source§

impl Diff for f16

Source§

fn diff(&self, other: &Self) -> f64

Source§

impl Diff for Complex<f32>

Source§

fn diff(&self, other: &Self) -> f64

Source§

impl Diff for Complex<f64>

Source§

fn diff(&self, other: &Self) -> f64

Implementors§