Trait BinaryParams

Source
pub trait BinaryParams: Params<Pattern = (Self::Lhs, Self::Rhs)> {
    type Lhs;
    type Rhs;

    // Required methods
    fn lhs(&self) -> &Self::Lhs;
    fn rhs(&self) -> &Self::Rhs;
}

Required Associated Types§

Required Methods§

Source

fn lhs(&self) -> &Self::Lhs

Source

fn rhs(&self) -> &Self::Rhs

Implementations on Foreign Types§

Source§

impl<A, B> BinaryParams for (A, B)

Source§

type Lhs = A

Source§

type Rhs = B

Source§

fn lhs(&self) -> &Self::Lhs

Source§

fn rhs(&self) -> &Self::Rhs

Implementors§

Source§

impl<A, B> BinaryParams for BinaryArgs<A, B>

Source§

type Lhs = A

Source§

type Rhs = B