Trait clipline::AbsDiff

source ·
pub trait AbsDiff<Rhs = Self> {
    type Output;

    // Required method
    fn abs_diff(self, rhs: Rhs) -> Self::Output;
}
Expand description

The absolute difference operation.

Required Associated Types§

source

type Output

The resulting type after applying the abs_diff operation.

Required Methods§

source

fn abs_diff(self, rhs: Rhs) -> Self::Output

Computes the absolute difference between self and other.

Implementations on Foreign Types§

source§

impl AbsDiff for i8

§

type Output = u8

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for i16

§

type Output = u16

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for i32

§

type Output = u32

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for i64

§

type Output = u64

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for i128

§

type Output = u128

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for isize

§

type Output = usize

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for u8

§

type Output = u8

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for u16

§

type Output = u16

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for u32

§

type Output = u32

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for u64

§

type Output = u64

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for u128

§

type Output = u128

source§

fn abs_diff(self, rhs: Self) -> Self::Output

source§

impl AbsDiff for usize

§

type Output = usize

source§

fn abs_diff(self, rhs: Self) -> Self::Output

Implementors§