Method lrs::time::Time::nanoseconds

Creates a Time that represents a number of nanoseconds.

Syntax

impl Time {
    fn nanoseconds(n: i64) -> Time
}

Arguments

NameDescription
n

The number of nanoseconds.