Expand description
Traits for conversions and for generic use of fixed-point numbers.
Traits§
- This trait provides methods common to all fixed-point numbers.
- This trait is used to provide supertraits to the
FixedBits
trait, and should not be used directly. - This trait is used to provide supertrait to the
FixedBits
trait depending on the crates’s optional features, and should not be used directly. - This trait is used to provide supertraits to the
FixedBits
trait depending on the crates’s optional features, and should not be used directly. - This trait is used to provide supertraits to the
FixedBits
trait depending on the crates’s optional features, and should not be used directly. - This trait is used to provide supertraits to the
FixedBits
trait depending on the crates’s optional features, and should not be used directly. - This trait provides a way to convert a number to/from an equivalent fixed-point number.
- This trait is used to provide supertraits to the
Fixed
trait depending on the crate’s optional features, and should not be used directly. - This trait provides methods common to all signed fixed-point numbers.
- This trait provides methods common to all unsigned fixed-point numbers.
- This trait provides checked conversions from fixed-point numbers.
- This trait provides lossless conversions that might be fallible.
- This trait provides lossless conversions that might be fallible. This is the reciprocal of
LosslessTryFrom
. - This trait provides infallible conversions that might be lossy.
- This trait provides infallible conversions that might be lossy. This is the reciprocal of
LossyFrom
. - This trait provides checked conversions to fixed-point numbers.