Module embedded_time::rate [−][src]
Expand description
Rate-based types/units
Re-exports
pub use crate::fraction::Fraction;
Structs
Baud
Bits/s
Bytes/s
Hertz / 100
Hertz / 10
The Generic
Rate
type allows an arbitrary scaling factor to be used without having to
impl FixedPoint
.
Hertz
Baud × 1,024
Bits/s × 1,024
Bytes/s × 1,024
Hertz × 1,024
Baud × 1,000
Bits/s × 1,000
Bytes/s × 1,000
Hertz × 1,000
Baud × 1,048,576
Bits/s × 1,048,576
Bytes/s × 1,048,576
Hertz × 1,048,576
Baud × 1,000,000
Bits/s × 1,000,000
Bytes/s × 1,000,000
Hertz × 1,000,000
Hertz / 1,000,000
Hertz / 1000
Traits
Create rate-based extensions from primitive numeric types.
An unsigned, fixed-point rate type