pub trait ConstZero {
const ZERO: Self;
}Expand description
Helper trait to identify the zero value of a type at compile time.
use uom::ConstZero;
const ORIGIN: (Length, Length, Length) = (Length::ZERO, Length::ZERO, Length::ZERO);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.