pub trait Unity {
const ONE: Self;
const NEG_ONE: Self;
}
Expand description
A type that has positive and negative unit values.
Required Associated Constants§
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.