☰
lib
Str
Aliased type
Trait Implementations
ToOwned
In crate lib
?
Type Alias
lib
::
Str
source
·
[
−
]
pub type Str =
SsoStr
;
Aliased Type
§
struct Str(
/* private fields */
);
Trait Implementations
§
source
§
impl
ToOwned
for
Str
§
type
Owned
=
SsoString
The resulting type after obtaining ownership.
source
§
fn
to_owned
(&self) -> Self::
Owned
Creates owned data from borrowed data, usually by cloning.
Read more
1.63.0
·
source
§
fn
clone_into
(&self, target: &mut Self::
Owned
)
Uses borrowed data to replace owned data, usually by cloning.
Read more