Expand description
This module contains traits.
Traits§
- Fixed
- This trait provides methods common to all fixed-point numbers.
- Fixed
Optional Features - This trait is used to provide supertraits to the
Fixed
trait depending on the crate’s optional features. - Fixed
Signed - This trait provides methods common to all signed fixed-point numbers.
- Fixed
Unsigned - This trait provides methods common to all unsigned fixed-point numbers.
- From
Fixed - This trait provides checked conversions from fixed-point numbers.
- Lossy
From - This trait provides infallible conversions that might be lossy.
- Lossy
Into - This trait provides infallible conversions that might be lossy.
This is the reciprocal of
LossyFrom
. - ToFixed
- This trait provides checked conversions to fixed-point numbers.