Struct wasmtime_environ::__core::str::lossy::Utf8LossyChunk
source · [−]🔬 This is a nightly-only experimental API. (
str_internals
)Fields
valid: &'a str
🔬 This is a nightly-only experimental API. (
str_internals
)Sequence of valid chars. Can be empty between broken UTF-8 chars.
broken: &'a [u8]
🔬 This is a nightly-only experimental API. (
str_internals
)Single broken char, empty if none. Empty iff iterator item is last.
Trait Implementations
sourceimpl<'a> Debug for Utf8LossyChunk<'a>
impl<'a> Debug for Utf8LossyChunk<'a>
sourceimpl<'a> PartialEq<Utf8LossyChunk<'a>> for Utf8LossyChunk<'a>
impl<'a> PartialEq<Utf8LossyChunk<'a>> for Utf8LossyChunk<'a>
sourcefn eq(&self, other: &Utf8LossyChunk<'a>) -> bool
fn eq(&self, other: &Utf8LossyChunk<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Utf8LossyChunk<'a>) -> bool
fn ne(&self, other: &Utf8LossyChunk<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for Utf8LossyChunk<'a>
impl<'a> StructuralEq for Utf8LossyChunk<'a>
impl<'a> StructuralPartialEq for Utf8LossyChunk<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Utf8LossyChunk<'a>
impl<'a> Send for Utf8LossyChunk<'a>
impl<'a> Sync for Utf8LossyChunk<'a>
impl<'a> Unpin for Utf8LossyChunk<'a>
impl<'a> UnwindSafe for Utf8LossyChunk<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.