[−][src]Function ustr::num_entries
pub fn num_entries() -> usize
Returns the number of unique strings in the cache
This may be an underestimate if other threads are writing to the cache concurrently.
use ustr::ustr as u; let _ = u("Hello"); let _ = u(", World!"); assert_eq!(ustr::num_entries(), 2);