Skip to main content

SubByRef

Trait SubByRef 

Source
pub trait SubByRef<Rhs = Self> {
    type Output;

    // Required method
    fn sub_by_ref(&self, rhs: &Rhs) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

impl<Rhs, Lhs, Output> SubByRef<Rhs> for Lhs
where for<'a> &'a Lhs: Sub<&'a Rhs, Output = Output>,

Source§

type Output = Output