Trait nekolib_doc::ops::Identity

source ·
pub trait Identity: BinaryOp {
    // Required method
    fn id(&self) -> Self::Set;
}

Required Methods§

source

fn id(&self) -> Self::Set

Implementors§

source§

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

source§

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