pub trait TwoSidedModule: LeftModule + RightModule {
type Ring: Ring;
}Expand description
A trait representing a two-sided module over a ring.
A two-sided module is a generalization of a vector space, where the scalars lie in a ring rather than a field. This trait combines the requirements for an Abelian group with scalar multiplication by elements of the ring on both the left and right.
Required Associated Types§
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.