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

source§

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

source§

type Set = B