pub trait NormalOut<RHS = Self> {
type Output;
// Required methods
fn _add(self, rhs: RHS) -> Self::Output;
fn _sub(self, rhs: RHS) -> Self::Output;
fn _mul_add(self, a: RHS, b: RHS) -> Self::Output;
fn _mul(self, rhs: RHS) -> Self::Output;
fn _rem(self, rhs: RHS) -> Self::Output;
fn _max(self, rhs: RHS) -> Self::Output;
fn _min(self, rhs: RHS) -> Self::Output;
fn _clamp(self, min: RHS, max: RHS) -> Self::Output;
}Expand description
this trait is used to perform normal operations that don’t require type promotion
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".