Struct cranelift_codegen::bforest::MapForest [−][src]
pub struct MapForest<K, V, C> where
K: Copy,
V: Copy,
C: Comparator<K>, { /* fields omitted */ }Memory pool for a forest of Map instances.
Methods
impl<K, V, C> MapForest<K, V, C> where
K: Copy,
V: Copy,
C: Comparator<K>, [src]
impl<K, V, C> MapForest<K, V, C> where
K: Copy,
V: Copy,
C: Comparator<K>, pub fn new() -> Self[src]
pub fn new() -> SelfCreate a new empty forest.
pub fn clear(&mut self)[src]
pub fn clear(&mut self)Clear all maps in the forest.
All Map instances belong to this forest are invalidated and should no longer be used.