1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! ***Global string intern pool***
//!
//! Internal use of [DashMap](https://crates.io/crates/dashmap) for concurrent support
//!
//! # Examples
//! - [`IStr`](struct.IStr.html)
//! ```
//! use pstr::IStr;
//! let s = IStr::new("hello world");
//! ```
//! - [`MowStr`](struct.MowStr.html)
//! ```
//! use pstr::MowStr;
//! let mut s = MowStr::new("hello");
//! assert!(s.is_interned());
//!
//! s.push_str(" ");
//! assert!(s.is_mutable());
//!
//! s.mutdown().push_str("world");
//! assert_eq!(s, "hello world");
//!
//! s.intern();
//! assert!(s.is_interned());
//! ```
pub use ;
pub use *;
pub use *;
/// Utilities related to FFI bindings.