pub struct Utf8LossyChunk<'a> {
pub valid: &'a str,
pub broken: &'a [u8],
}🔬 This is a nightly-only experimental API. (
str_internals #0)
🔬 This is a nightly-only experimental API. (
str_internals #0)
Sequence of valid chars.
Can be empty between broken UTF-8 chars.
🔬 This is a nightly-only experimental API. (
str_internals #0)
Single broken char, empty if none.
Empty iff iterator item is last.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (
try_from #33417)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (
try_from #33417)
🔬 This is a nightly-only experimental API. (
try_from #33417)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (
try_from #33417)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id #27745)
this method will likely be replaced by an associated static