Lines Matching refs:StringPool
28 pub struct StringPool { struct
38 impl Drop for StringPool { implementation
51 impl fmt::Debug for StringPool { implementation
53 struct Strings<'a>(&'a StringPool); in fmt()
74 impl TryClone for StringPool { implementation
76 let mut new_pool = StringPool::new(); in try_clone()
99 impl core::ops::Index<Atom> for StringPool { implementation
110 impl core::ops::Index<&'_ Atom> for StringPool { implementation
120 impl serde::ser::Serialize for StringPool { implementation
129 impl<'de> serde::de::Deserialize<'de> for StringPool { implementation
136 type Value = StringPool; in deserialize()
148 let mut pool = StringPool::new(); in deserialize()
173 impl StringPool { impl
312 let mut pool = StringPool::new(); in basic()
329 let mut pool2 = StringPool::new(); in basic()
342 let mut pool = StringPool::new(); in stress()
360 let mut pool = StringPool::new(); in roundtrip_serialize_deserialize()
366 let (pool, a2, b2, c2) = postcard::from_bytes::<(StringPool, Atom, Atom, Atom)>(&bytes)?; in roundtrip_serialize_deserialize()