Docs.rs
syncell-0.1.0
syncell 0.1.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
crates.io
Source
Owners
kvark
Dependencies
loom ^0.5
normal
optional
Versions
100%
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
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
Crate syncell
syncell
0.1.0
All Items
Crate Items
Structs
Crate
syncell
Copy item path
Source
Expand description
Synchronized Cell
Main principles:
if you change state, and it’s fine, you reverse it on drop()
if you found a problem, still undo your change, and then panic()
Structs
§
SynCell
A Sync cell. Stores a value of type
T
and allows to access it behind a reference.
SynCell
follows Rust borrowing rules but checks them at run time as opposed to compile time.
SynRef
A shared reference to
SynCell
data.
SynRef
Mut
A mutable reference to
SynCell
data.