Repository navigation
generic-container v0.1.0
·
9 commits
to main
since this release
The generic-container crate provides interfaces for abstracting over a "container" holding a value of some type T, as well as container implementations for relevant types in the standard library, for CheckedRcRefCell<T> (defined in this crate), and for Arc<ThreadCheckedMutex<T>> (from the thread-checked-lock crate).
A wrapper type GenericContainer<T, C> is also provided for use in blanket implementations in a way that avoids conflicting trait implementations.