Expand description
§speedy_refs
A collection of useful smart pointers including some alternatives to std smart pointers.
§FEATURES
-
Rc: Blazingly fast alternative to the std
Rcsmart pointer. -
RefCell: Blazingly fast alternative to the std
RefCell. -
Arc: Lighter alternative the std
Arcwith equivalent performance -
HeapCell: Similar to
NonNullwith simpler typedeallocationanddropping -
Reon - Read only static pointer that implements
SyncandSend -
RcCell - Simple and more concise version of
Rc<RefCell> -
SharedCell: For Shared ownership without borrow checking.
-
Borrow: A cloneable shared ownership without borrow checking. Like how references are used in languages like java, go, python, etc.
Structs§
- Arc
- Borrow
- A
Borrowis a shared reference toTthat may be used to modifyTwithout any borrow checking. - Borrow
Flag - BorrowFlag
- Heap
Cell - A
HeapCellis Heap allocated type pointer. Functions likeNonNull+UnsafeCell - Rc
- speedy_refs::Rc
- RcCell
- speedy_refs::RcCell
- Ref
- An immutable borrow of RefCell
- RefCell
- RefCell
- RefMut
- Reon
- Reon (Read Only)
- Shared
Cell - Freely share multiple mutable references within a single thread.