ArcStr
kstring
2.0.2
ArcStr
Aliased Type
Trait Implementations
HeapStr
Sealed
In kstring::
backend
kstring
::
backend
Type Alias
ArcStr
Copy item path
Source
pub type ArcStr =
Arc
<
str
>;
Expand description
Cross-thread, O(1) clones
Aliased Type
§
pub struct ArcStr {
/* private fields */
}
Trait Implementations
§
Source
§
impl
HeapStr
for
ArcStr
Source
§
fn
from_str
(other: &
str
) -> Self
Source
§
fn
from_string
(other:
String
) -> Self
Source
§
fn
from_boxed_str
(other:
BoxedStr
) -> Self
Source
§
fn
as_str
(&self) -> &
str
Source
§
impl
Sealed
for
ArcStr