pub trait IsZeroTraits: Default {
const IS_ZERO: &'static str;
const GENERIC_TYPE_ID: GenericTypeId;
}
Expand description
Trait for implementing a IsZero library function for a type.
Required Associated Constants§
Sourceconst GENERIC_TYPE_ID: GenericTypeId
const GENERIC_TYPE_ID: GenericTypeId
The id of the generic type to implement the library functions for.
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.