Docs.rs
quickjs-jit-stdlib-0.14.2
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
origin_nanos
quickjs_
jit_
stdlib
0.14.2
origin_
nanos
Sections
Safety
In quickjs_
jit_
stdlib::
utils::
time
quickjs_jit_stdlib
::
utils
::
time
Function
origin_
nanos
Copy item path
Source
pub fn origin_nanos() ->
u64
Expand description
Get the origin time in nanoseconds.
ยง
Safety
Good until the year 2554
Always use a checked substraction since this can return 0