Crate go_heap_rs[−][src]
Expand description
Go Heap in Rust
go_heap_rs implements the Go’s heap interface in Rust
The heap it self is backed by another collection which it must implement the Heap trait for it
Advantages
- More control over swap method
- Added
fixandremovemethods - Full access to underlying data
Disadvantages
- Must be backed by a collection like Vector
- Not really easy to work with
- Lack of some methods like
from
Structs
A heap structure which holds a type which derives from Heap
A very simple min heap implementation
Traits
All types which you want to create heap from them must implement this trait