Trait ops::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