Trait nekolib::traits::MonoidAction
source · pub trait MonoidAction {
type Operator: Monoid;
type Operand: Monoid;
// Required methods
fn operator(&self) -> &Self::Operator;
fn operand(&self) -> &Self::Operand;
fn act(
&self,
x: <Self::Operand as Magma>::Set,
op: <Self::Operator as Magma>::Set
) -> <Self::Operand as Magma>::Set;
}
Expand description
作用モノイド。