Docs.rs
once-0.3.4
once 0.3.4
Permalink
Docs.rs crate page
Apache-2.0/MIT
Links
Documentation
Repository
crates.io
Source
Owners
phil-opp
Dependencies
Versions
50%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
once
0.3.4
All Items
Crate Items
Macros
Crate
once
Copy item path
Source
Macros
ยง
assert_
has_
not_
been_
called
This macro can be used to ensure that a function is called only once. It panics if the function is called a second time.