Trait Module

Source
pub trait Module:
    AbstractModule<AbstractRing = Self::Ring>
    + AdditiveGroupAbelian
    + ClosedMul<Self::Ring> {
    type Ring: RingCommutative;
}
Expand description

A module which overloads the * and + operators.

Required Associated Types§

Source

type Ring: RingCommutative

The underlying scalar field.

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.

Implementations on Foreign Types§

Source§

impl Module for f32

Source§

impl Module for f64

Source§

impl Module for i8

Source§

impl Module for i16

Source§

impl Module for i32

Source§

impl Module for i64

Source§

impl Module for isize

Source§

impl<N: RingCommutative + NumAssign> Module for Complex<N>

Source§

type Ring = N

Implementors§