pub trait Math<T> {
// Provided methods
fn u128_dot(&self, other: &Self) -> u128 { ... }
fn u64_dot(&self, other: &Self) -> u64 { ... }
fn u32_dot(&self, other: &Self) -> u32 { ... }
fn u16_dot(&self, other: &Self) -> u16 { ... }
fn u8_dot(&self, other: &Self) -> u8 { ... }
fn i128_dot(&self, other: &Self) -> i128 { ... }
fn i64_dot(&self, other: &Self) -> i64 { ... }
fn i32_dot(&self, other: &Self) -> i32 { ... }
fn i16_dot(&self, other: &Self) -> i16 { ... }
fn i8_dot(&self, other: &Self) -> i8 { ... }
fn f64_dot(&self, other: &Self) -> f64 { ... }
fn f32_dot(&self, other: &Self) -> f32 { ... }
}Provided Methods§
fn u128_dot(&self, other: &Self) -> u128
fn u64_dot(&self, other: &Self) -> u64
fn u32_dot(&self, other: &Self) -> u32
fn u16_dot(&self, other: &Self) -> u16
fn u8_dot(&self, other: &Self) -> u8
fn i128_dot(&self, other: &Self) -> i128
fn i64_dot(&self, other: &Self) -> i64
fn i32_dot(&self, other: &Self) -> i32
fn i16_dot(&self, other: &Self) -> i16
fn i8_dot(&self, other: &Self) -> i8
fn f64_dot(&self, other: &Self) -> f64
fn f32_dot(&self, other: &Self) -> f32
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.