Skip to main content

SemigroupAction

Trait SemigroupAction 

Source
pub trait SemigroupAction<S, X>: Sized
where S: Semigroup<Self>,
{ // Required method fn action(self, x: X) -> X; }
Expand description

(Right) action of a semigroup on a set

Required Methods§

Source

fn action(self, x: X) -> X

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§