Releases: orxfun/orx-selfref-col
Releases · orxfun/orx-selfref-col
From is implemented for (pinned-vec, ends)
The model is revised
The crate is converted into no_std.
Although the core structure of defining a self referential collection via the expressive Variant
definition is kept, a major refactoring is applied.
Lifetimes are removed from the collections which simplifies the api significantly. The safety is provided internally by NodePtr
and NodeIdx
.
Memory reorganization is left to the implementors through the MemoryReclaim
trait.
Example implementations of singly and doubly linked lists are provided.
PinnedVec and implementors upgraded (3.3)
PinnedVec and implementors upgraded (3.3)
hotfix in `append-mutate`
Removed dependency to unsafe in append-mutate is removed.
orx-pinned-vec version updated to 2.7
Merge pull request #10 from orxfun/pinned-vec-version-updated orx-pinned-vec version updated to 2.7
`MemoryReclaimPolicy` generic arguments are simplified
MemoryReclaimPolicy
generic arguments are simplified.MemoryReclaimNever
is now safe against manualreclaim_closed_nodes
calls.Reclaim
trait is defined to define how the reclaim operation will be handled depending on the references.impl_reclaim_unidirectional
andimpl_reclaim_bidirectional
macros are utilized to implementReclaim
for different (prev, next) type combinations.
`SelfRefCol` is defined
SelfRefCol
is defined with sufficient features to enable building a safe and efficient linked list.