pub trait Idempotent: Magma { }Expand description
$\forall a \in T, a \circ a = a$
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
pub trait Idempotent: Magma { }$\forall a \in T, a \circ a = a$
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.