pub trait IsZero {
// Required method
fn is_zero(&self) -> bool;
}Expand description
Trait defining instance method is_zero() : bool that indicates whether
the implementing type instance is numerically zero.
§Additional Implementations on Foreign Types
§Built-in Types
If the feature "implement-IsZero-for-built_ins"
is defined (as it is by "default"), then this is also implemented
for the following types:
§Standard Process Types
If the feature "implement-IsZero-for-standard_process_types"
is defined (as it is by "default"), then this is also implemented
for the following types:
§Standard Time Types
If the feature "implement-IsZero-for-standard_time_types"
is defined (as it is by "default"), then this is also implemented
for the following types: