Expand description
Thread-safe reference-counted pointers that carry Send + Sync bounds.
§Examples
use fp_library::{brands::*, functions::*};
let ptr = send_ref_counted_pointer_new::<ArcBrand, _>(42);
assert_eq!(*ptr, 42);Traits§
- Send
RefCounted Pointer - Extension trait for thread-safe reference-counted pointers.
Functions§
- send_
new - Wraps a sized value in a thread-safe pointer.