pub trait Difference {
    type Diff;

    // Required method
    fn diff(&self, rhs: Self) -> Self::Diff;
}

Required Associated Types§

Required Methods§

source

fn diff(&self, rhs: Self) -> Self::Diff

Implementations on Foreign Types§

source§

impl Difference for bool

§

type Diff = ValueStep<bool>

source§

fn diff(&self, rhs: bool) -> Self::Diff

source§

impl<A: Stepable> Difference for Option<A>

§

type Diff = ValueStep<A>

source§

fn diff(&self, rhs: Option<A>) -> Self::Diff

Implementors§