IsZeroResult
Represents the result of checking whether a value is zero.
Fully qualified path: core::zeroable::IsZeroResult
pub(crate) enum IsZeroResult<T> {
Zero,
NonZero: NonZero<T>,
}
Variants
Zero
Indicates that the value is zero.
Fully qualified path: core::zeroable::IsZeroResult::Zero
Zero
NonZero
Indicates that the value is non-zero, wrapping it in a NonZero.
Fully qualified path: core::zeroable::IsZeroResult::NonZero
NonZero : NonZero < T >