BinaryOp

Trait BinaryOp 

Source
pub trait BinaryOp {
    type Set;

    // Required method
    fn op(&self, lhs: &Self::Set, rhs: &Self::Set) -> Self::Set;
}

Required Associated Types§

Required Methods§

Source

fn op(&self, lhs: &Self::Set, rhs: &Self::Set) -> Self::Set

Implementors§

Source§

impl<T> BinaryOp for OpAdd<T>
where &'a T: for<'a> Add<Output = T>,

Source§

type Set = T

Source§

impl<T, B> BinaryOp for OpConcat<T, B>
where T: Clone, B: Clone + IntoIterator<Item = T> + FromIterator<T>,

Source§

type Set = B