pub struct RuneStr(_, _);
Expand description
A primitive rune-based string type.
It is usally seen in its borrowed form, &RuneStr
.
Implementations
sourceimpl RuneStr
impl RuneStr
sourcepub fn bytes(&self) -> Bytes<'_>ⓘNotable traits for Bytes<'str>impl<'str> Iterator for Bytes<'str> type Item = u8;
pub fn bytes(&self) -> Bytes<'_>ⓘNotable traits for Bytes<'str>impl<'str> Iterator for Bytes<'str> type Item = u8;
Returns an iterator over the bytes of a rune string slice.
Trait Implementations
sourceimpl<'rhs> AddAssign<&'rhs RuneStr> for RuneString
impl<'rhs> AddAssign<&'rhs RuneStr> for RuneString
sourcefn add_assign(&mut self, rhs: &'rhs RuneStr)
fn add_assign(&mut self, rhs: &'rhs RuneStr)
Performs the +=
operation. Read more
sourceimpl Borrow<RuneStr> for RuneString
impl Borrow<RuneStr> for RuneString
sourceimpl PartialEq<RuneStr> for RuneString
impl PartialEq<RuneStr> for RuneString
sourceimpl ToOwned for RuneStr
impl ToOwned for RuneStr
type Owned = RuneString
type Owned = RuneString
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> RuneString
fn to_owned(&self) -> RuneString
Creates owned data from borrowed data, usually by cloning. Read more
sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more