trait PcgElem:
Copy
+ Send
+ Sync
+ Default
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Div<Output = Self> {
// Required methods
fn one() -> Self;
fn cmul(self, o: Self) -> Self;
fn abs2(self) -> f64;
fn abs(self) -> f64;
fn re(self) -> f64;
fn is_inf(self) -> bool;
fn is_zero(self) -> bool;
}Expand description
An element of a pcg vector: real (step 1) or complex (step 2).
Required Methods§
fn one() -> Self
fn abs2(self) -> f64
fn abs(self) -> f64
fn re(self) -> f64
fn is_inf(self) -> bool
fn is_zero(self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".