pub trait Field:
Num
+ Div<Output = Self>
+ Rem<Output = Self> {
// Required methods
fn div(self, other: Self) -> Self;
fn reciprocal(self) -> Self;
}Expand description
Division ring: everything Num is, plus division and reciprocal.
Required Methods§
Sourcefn reciprocal(self) -> Self
fn reciprocal(self) -> Self
1 / self.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".