Trait ComplexNumberRequiredTraits

Source
pub trait ComplexNumberRequiredTraits<T>:
    Add<Output = T>
    + Sub<Output = T>
    + Mul<Output = T>
    + Div<Output = T>
    + Add<Output = T>
    + AddAssign
    + MulAssign
    + DivAssign
    + Clone
    + Copy
    + Display
    + PartialOrd<T>
    + Neg<Output = T>
    + Default
    + Sqrt
    + Pow
    + From<u8> { }
Expand description

These are the traits required for ComplexNumber to work with Matrix These are identical to MatrixElementRequiredTraits and should be combined at some point Note the trait From<u8> is required in order to create identity matrices

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.

Implementors§

Source§

impl<T: Add<Output = T> + Sub<Output = T> + Mul<Output = T> + Div<Output = T> + AddAssign + MulAssign + DivAssign + Clone + Copy + Display + PartialOrd<T> + Neg<Output = T> + Default + Sqrt + Pow + From<u8> + ?Sized> ComplexNumberRequiredTraits<T> for T