MCPcopy Create free account
hub / github.com/douchuan/algorithm / RedBlackTree

Interface RedBlackTree

src/tree/binary/rb.rs:128–130  ·  view source on GitHub ↗

todo: rb tree delete, Chris Okasaki insert-fix

Source from the content-addressed store, hash-verified

126
127//todo: rb tree delete, Chris Okasaki insert-fix
128pub trait RedBlackTree<K, V> {
129 fn insert(&mut self, key: K, val: V);
130}
131
132impl<K, V> RedBlackTree<K, V> for Tree<K, V>
133where

Callers

nothing calls this directly

Implementers 1

rb.rssrc/tree/binary/rb.rs

Calls

no outgoing calls

Tested by

no test coverage detected