Skip to main content

AbsDiff

Trait AbsDiff 

Source
pub trait AbsDiff<T> {
    // Required method
    fn abs_diff(&self, other: T) -> T;
}

Required Methods§

Source

fn abs_diff(&self, other: T) -> T

Implementors§

Source§

impl<T> AbsDiff<T> for T
where T: BaseArithmetic + Copy,