Aucune description

david e792ec617c Expanded shared for Shared and Data il y a 2 mois
examples e792ec617c Expanded shared for Shared and Data il y a 2 mois
src e792ec617c Expanded shared for Shared and Data il y a 2 mois
.gitignore 0887d035ae Adds SharedData<T> il y a 2 mois
Cargo.lock e792ec617c Expanded shared for Shared and Data il y a 2 mois
Cargo.toml e792ec617c Expanded shared for Shared and Data il y a 2 mois
LICENSE c6403ea9d9 Updated LICENSE and README.md il y a 2 mois
README.md e792ec617c Expanded shared for Shared and Data il y a 2 mois

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.