Trait Inv
trait Inv
Unary operator for retrieving the multiplicative inverse, or reciprocal, of a value.
Associated Types
type OutputThe result after applying the operator.
Required Methods
fn inv(self: Self) -> <Self as >::OutputReturns the multiplicative inverse of
self.Examples
use INFINITY; use Inv; assert_eq!; assert_eq!;
Implementors
impl Inv for f64impl Inv for f32impl<'a> Inv for &'a f64impl<'a> Inv for &'a f32