method Dur.nanos
Whole nanoseconds.
Example:
fn main() io {
print("{5us.nanos()}")
}Output
5000
pub(api) fn nanos() -> i64Since. 1.0.0-beta
Returns
i64
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:488