Trait enso_prelude::PartialSemigroup[][src]

pub trait PartialSemigroup<T>: Clone {
    fn concat_mut(&mut self, other: T);

    fn concat_ref(&self, other: T) -> Self
    where
        Self: Clone
, { ... }
fn concat(self, other: T) -> Self { ... } }
Expand description

Mutable Semigroup definition. Impls should satisfy the associativity law: x.concat(y.concat(z)) = x.concat(y).concat(z), in symbolic form: x <> (y <> z) = (x <> y) <> z

Required methods

An associative operation.

Provided methods

An associative operation.

An associative operation.

Implementations on Foreign Types

Implementors