Crate speedy_refs

Source
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 Rc smart pointer.

  • RefCell: Blazingly fast alternative to the std RefCell.

  • Arc: Lighter alternative the std Arc with equivalent performance

  • HeapCell: Similar to NonNull with simpler type deallocation and dropping

  • Reon - Read only static pointer that implements Sync and Send

  • 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 Borrow is a shared reference to T that may be used to modify T without any borrow checking.
BorrowFlag
BorrowFlag
HeapCell
A HeapCell is Heap allocated type pointer. Functions like NonNull + UnsafeCell
Rc
speedy_refs::Rc
RcCell
speedy_refs::RcCell
Ref
An immutable borrow of RefCell
RefCell
RefCell
RefMut
Reon
Reon (Read Only)
SharedCell
Freely share multiple mutable references within a single thread.