pub trait Mono:
From<Self::Deg>
+ One
+ Mul<Output = Self>
+ Div<Output = Self>
+ MonoOrd
+ Gen {
type Deg;
// Required methods
fn deg(&self) -> Self::Deg;
fn is_unit(&self) -> bool;
fn inv(&self) -> Option<Self>;
fn divides(&self, other: &Self) -> bool;
}Required Associated Types§
Required Methods§
fn deg(&self) -> Self::Deg
fn is_unit(&self) -> bool
fn inv(&self) -> Option<Self>
fn divides(&self, other: &Self) -> bool
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.