Trait differential_dataflow::difference::Monoid

source ·
pub trait Monoid: Semigroup {
    // Required method
    fn zero() -> Self;
}
Expand description

A semigroup with an explicit zero element.

Required Methods§

source

fn zero() -> Self

A zero element under the semigroup addition operator.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Monoid for i8

source§

fn zero() -> Self

source§

impl Monoid for i16

source§

fn zero() -> Self

source§

impl Monoid for i32

source§

fn zero() -> Self

source§

impl Monoid for i64

source§

fn zero() -> Self

source§

impl Monoid for i128

source§

fn zero() -> Self

source§

impl Monoid for isize

source§

fn zero() -> Self

source§

impl Monoid for u8

source§

fn zero() -> Self

source§

impl Monoid for u16

source§

fn zero() -> Self

source§

impl Monoid for u32

source§

fn zero() -> Self

source§

impl Monoid for u64

source§

fn zero() -> Self

source§

impl Monoid for u128

source§

fn zero() -> Self

source§

impl Monoid for ()

source§

fn zero() -> Self

source§

impl Monoid for usize

source§

fn zero() -> Self

source§

impl Monoid for Wrapping<i8>

source§

fn zero() -> Self

source§

impl Monoid for Wrapping<i16>

source§

fn zero() -> Self

source§

impl Monoid for Wrapping<i32>

source§

fn zero() -> Self

source§

impl Monoid for Wrapping<i64>

source§

fn zero() -> Self

source§

impl Monoid for Wrapping<i128>

source§

fn zero() -> Self

source§

impl Monoid for Wrapping<isize>

source§

fn zero() -> Self

source§

impl<A1: Monoid> Monoid for (A1,)

source§

fn zero() -> Self

source§

impl<A1: Monoid, B1: Monoid> Monoid for (A1, B1)

source§

fn zero() -> Self

source§

impl<A1: Monoid, B1: Monoid, C1: Monoid> Monoid for (A1, B1, C1)

source§

fn zero() -> Self

source§

impl<A1: Monoid, B1: Monoid, C1: Monoid, D1: Monoid> Monoid for (A1, B1, C1, D1)

source§

fn zero() -> Self

source§

impl<R: Monoid> Monoid for Vec<R>

source§

fn zero() -> Self

Implementors§