Searched refs:ManagedMap (Results 1 – 3 of 3) sorted by relevance
/external/rust/android-crates-io/crates/managed/src/ |
D | map.rs | 39 pub enum ManagedMap<'a, K: 'a, V: 'a> { enum 47 impl<'a, K: 'a, V: 'a> fmt::Debug for ManagedMap<'a, K, V> implementation 51 &ManagedMap::Borrowed(ref x) => write!(f, "Borrowed({:?})", x), in fmt() 53 &ManagedMap::Owned(ref x) => write!(f, "Owned({:?})", x) in fmt() 58 impl<'a, K: 'a, V: 'a> From<&'a mut [Option<(K, V)>]> for ManagedMap<'a, K, V> { implementation 60 ManagedMap::Borrowed(value) in from() 65 impl<'a, K: 'a, V: 'a> From<BTreeMap<K, V>> for ManagedMap<'a, K, V> { implementation 67 ManagedMap::Owned(value) in from() 255 impl<'a, K: Ord + 'a, V: 'a> ManagedMap<'a, K, V> { impl 258 &mut ManagedMap::Borrowed(ref mut pairs) => { in clear() [all …]
|
D | lib.rs | 25 pub use map::{ManagedMap,
|
/external/rust/android-crates-io/crates/managed/ |
D | README.md | 81 The `map` feature, disabled by default, enables the `ManagedMap` enum. 104 // The implementation of ManagedMap is not yet stable, beware! 105 pub enum ManagedMap<'a, K: Hash + 'a, V: 'a> { 114 and `ManagedMap` is implemented using either a B-tree map or a sorted slice of key-value pairs.
|