pub trait HeapStr: Debug + Clone + Sealed {
fn from_str(other: &str) -> Self;
fn from_string(other: String) -> Self;
fn from_boxed_str(other: BoxedStr) -> Self;
fn as_str(&self) -> &str;
}
Expand description
Abstract over different type of heap-allocated strings