Nav apraksta

david e792ec617c Expanded shared for Shared and Data 2 mēneši atpakaļ
examples e792ec617c Expanded shared for Shared and Data 2 mēneši atpakaļ
src e792ec617c Expanded shared for Shared and Data 2 mēneši atpakaļ
.gitignore 0887d035ae Adds SharedData<T> 2 mēneši atpakaļ
Cargo.lock e792ec617c Expanded shared for Shared and Data 2 mēneši atpakaļ
Cargo.toml e792ec617c Expanded shared for Shared and Data 2 mēneši atpakaļ
LICENSE c6403ea9d9 Updated LICENSE and README.md 2 mēneši atpakaļ
README.md e792ec617c Expanded shared for Shared and Data 2 mēneši atpakaļ

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.