Home
last modified time | relevance | path

Searched refs:linked_hash_map (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/hashlink/tests/
Dlinked_hash_map.rs1 use hashlink::{linked_hash_map, LinkedHashMap};
10 v: linked_hash_map::Iter<'a, &'static str, &'static str>, in assert_covariance()
11 ) -> linked_hash_map::Iter<'a, &'new str, &'new str> { in assert_covariance()
16 v: linked_hash_map::Iter<'a, &'static str, ()>, in assert_covariance()
17 ) -> linked_hash_map::Iter<'a, &'new str, ()> { in assert_covariance()
22 v: linked_hash_map::IntoIter<&'static str, &'static str>, in assert_covariance()
23 ) -> linked_hash_map::IntoIter<&'new str, &'new str> { in assert_covariance()
28 d: linked_hash_map::Drain<'static, &'static str, &'static str>, in assert_covariance()
29 ) -> linked_hash_map::Drain<'new, &'new str, &'new str> { in assert_covariance()
34 v: linked_hash_map::RawEntryBuilder<'a, &'static str, &'static str, ()>, in assert_covariance()
[all …]
/external/rust/crates/hashlink/src/
Dlib.rs1 pub mod linked_hash_map; module
7 pub use linked_hash_map::LinkedHashMap;
Dlinked_hash_set.rs11 use crate::linked_hash_map::{self, LinkedHashMap, TryReserveError};
213 linked_hash_map::Entry::Occupied(occupied) => Some(occupied.replace_key()), in replace()
214 linked_hash_map::Entry::Vacant(vacant) => { in replace()
237 linked_hash_map::RawEntryMut::Occupied(occupied) => Some(occupied.remove_entry().0), in take()
238 linked_hash_map::RawEntryMut::Vacant(_) => None, in take()
269 linked_hash_map::RawEntryMut::Occupied(mut occupied) => { in to_front()
273 linked_hash_map::RawEntryMut::Vacant(_) => false, in to_front()
284 linked_hash_map::RawEntryMut::Occupied(mut occupied) => { in to_back()
288 linked_hash_map::RawEntryMut::Vacant(_) => false, in to_back()
446 iter: linked_hash_map::Keys<'a, K, ()>,
[all …]
Dlru_cache.rs10 use crate::linked_hash_map::{self, LinkedHashMap};
12 pub use crate::linked_hash_map::{
152 linked_hash_map::RawEntryMut::Occupied(mut occupied) => { in get_mut()
156 linked_hash_map::RawEntryMut::Vacant(_) => None, in get_mut()
/external/rust/crates/linked-hash-map/tests/
Dheapsize.rs4 extern crate linked_hash_map;
6 use linked_hash_map::LinkedHashMap;
Dserde.rs3 extern crate linked_hash_map;
4 use linked_hash_map::LinkedHashMap;
Dtest.rs1 extern crate linked_hash_map;
3 use linked_hash_map::{LinkedHashMap, Entry};
421 is_send_sync::<linked_hash_map::Iter<u32, i32>>(); in test_send_sync()
422 is_send_sync::<linked_hash_map::IterMut<u32, i32>>(); in test_send_sync()
423 is_send_sync::<linked_hash_map::IntoIter<u32, i32>>(); in test_send_sync()
424 is_send_sync::<linked_hash_map::Keys<u32, i32>>(); in test_send_sync()
425 is_send_sync::<linked_hash_map::Values<u32, i32>>(); in test_send_sync()
/external/rust/crates/linked-hash-map/
DAndroid.bp45 crate_name: "linked_hash_map",
52 crate_name: "linked_hash_map",
74 crate_name: "linked_hash_map",
/external/rust/crates/lru-cache/src/
Dlib.rs40 extern crate linked_hash_map;
47 use linked_hash_map::LinkedHashMap;
366 pub struct IntoIter<K, V>(linked_hash_map::IntoIter<K, V>);
395 pub struct Iter<'a, K: 'a, V: 'a>(linked_hash_map::Iter<'a, K, V>);
419 pub struct IterMut<'a, K: 'a, V: 'a>(linked_hash_map::IterMut<'a, K, V>);
/external/rust/crates/hashlink/
DCHANGELOG.md44 - Move `linked_hash_map` into its own module
47 - Add `linked_hash_map` `IntoIter` iterator that is different from `Drain` iterator