☰
BoxedStr
BoxedStr
Trait Implementations
HeapStr
In kstring::backend
Traits
HeapStr
Type Definitions
ArcStr
BoxedStr
RcStr
?
Type Definition
kstring
::
backend
::
BoxedStr
source
·
[
−
]
pub type BoxedStr =
Box
<
str
>;
Expand description
Fast allocations, O(n) clones
Trait Implementations
source
impl
HeapStr
for
BoxedStr
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