Docs.rs
libsugar-2.4.1
libsugar 2.4.1
Docs.rs crate page
MIT
Links
Repository
Crates.io
Source
Owners
2A5F
Dependencies
tuples ^1.4
normal
Versions
53.76%
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
☰
Module once_get
Traits
libsugar
?
[
−
]
[src]
Module
libsugar
::
once_get
Get Once
let
mut
a
=
None
;
let
b
=
a
.
get_or_init
(
|
|
1
);
assert_eq
!
(
*
b
,
1
);
Traits
OnceGet
Get Once