pub trait InvertOrZero {
// Required method
fn invert_or_zero(self) -> Self;
}
Expand description
Value that can be inverted
Required Methods§
sourcefn invert_or_zero(self) -> Self
fn invert_or_zero(self) -> Self
Returns the inverted value or zero in case when self
is zero
Object Safety§
This trait is not object safe.