Trait fixed::traits::FixedBitsOptionalNum
source · pub trait FixedBitsOptionalNum: Sealed { }
Expand description
This trait is used to provide supertraits to the FixedBits
trait
depending on the crates’s optional features, and should not be used
directly.
If the num-traits
experimental feature is
enabled, the following are supertraits of FixedBits
:
- [
PrimInt
], [FromPrimitive
] [AsPrimitive][
whereAsPrimitive
]<T>T
can bei8
,i16
,i32
,i64
,i128
,isize
,u8
,u16
,u32
,u64
,u128
,usize
,f32
orf64
- [
CheckedNeg
], [CheckedRem
], [CheckedShl
], [CheckedShr
] - [
SaturatingAdd
], [SaturatingSub
], [SaturatingMul
] - [
WrappingAdd
], [WrappingSub
], [WrappingNeg
], [WrappingMul
], [WrappingShl
], [WrappingShr
] - [
OverflowingAdd
], [OverflowingSub
], [OverflowingMul
] - [
Euclid
], [CheckedEuclid
] - [
MulAdd
], [MulAddAssign
]