2 unstable releases
0.2.0 | Feb 19, 2021 |
---|---|
0.1.0 | Jan 24, 2021 |
#18 in #weak-references
1MB
871 lines
Contains (WOFF font, 190KB) docs/FiraSans-Medium.woff, (WOFF font, 185KB) docs/FiraSans-Regular.woff, (WOFF font, 94KB) docs/SourceSerifPro-Bold.ttf.woff, (WOFF font, 89KB) docs/SourceSerifPro-Regular.ttf.woff, (WOFF font, 56KB) docs/SourceCodePro-Regular.woff, (WOFF font, 56KB) docs/SourceCodePro-Semibold.woff and 1 more.
counting-pointer
counting-pointer
provides struct Sc
and Asc
.
They behave like std::rc::Rc
and std::sync::Arc
except for the followings.
Sc
andAsc
treats only strong reference but not weak reference for the performance.Sc
andAsc
takesGlobalAlloc
type as a template parameter.
License: LGPL-3.0-or-later OR Apache-2.0 OR BSD-2-Clause
lib.rs
:
counting-pointer
provides struct Sc
and Asc
.
They behave like std::rc::Rc
and std::sync::Arc
except for the followings.
Sc
andAsc
treats only strong reference but not weak reference for the performance.Sc
andAsc
takesGlobalAlloc
type as a template parameter.