macro_rules! ns {
($x:expr) => { ... };
}Expand description
Converts whole nanoseconds (i128) to total attoseconds (i128).
Sugar for Dt::ns_to_attos. Does not build a
Dt — only multiplies the unit count by the attoseconds-per-unit
constant (saturating).
§Example
use deep_time::{Dt, ns};
assert_eq!(ns!(1), Dt::ns_to_attos(1));