Skip to main content

NegativeI

Trait NegativeI 

Source
pub trait NegativeI {
    const NEGATIVE_I: Self;
}
Expand description

Provides the constant -i, the negative of the imaginary unit.

No type in this crate implements this trait; it exists for complex types downstream, like Gaussian integers.

Required Associated Constants§

Source

const NEGATIVE_I: Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§