Keine Beschreibung

Apollo 1eb30078ef Separated Data and Shared (v0.1.3) vor 4 Monaten
examples 550157111f Added `cast_into` feature for Data vor 6 Monaten
src 09ff6040e0 Separated Data and Shared (v0.1.3) vor 4 Monaten
.gitignore 0887d035ae Adds SharedData<T> vor 7 Monaten
Cargo.lock 09ff6040e0 Separated Data and Shared (v0.1.3) vor 4 Monaten
Cargo.toml 09ff6040e0 Separated Data and Shared (v0.1.3) vor 4 Monaten
LICENSE c6403ea9d9 Updated LICENSE and README.md vor 7 Monaten
README.md e792ec617c Expanded shared for Shared and Data vor 6 Monaten

README.md

Shared

A Arc Mutex guarded Data.

Usage

cargo add shared

use shared::Shared;

// Wrap your structure in Shared<S> via Shared::new(S)

Examples

To run, say doc_example just cargo run --example doc_example.