Struct Utf8Chunks

struct Utf8Chunks<'a> { ... }

An iterator over chunks of valid UTF-8 in a byte slice.

See utf8_chunks.

Implementations

impl<'a> Clone for Utf8Chunks<'a>

fn clone(self: &Self) -> Utf8Chunks<'a>

impl<'a> Debug for Utf8Chunks<'a>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<'a> Freeze for Utf8Chunks<'a>

impl<'a> FusedIterator for Utf8Chunks<'a>

impl<'a> Iterator for Utf8Chunks<'a>

fn next(self: &mut Self) -> Option<Utf8Chunk<'a>>
fn size_hint(self: &Self) -> (usize, Option<usize>)

impl<'a> RefUnwindSafe for Utf8Chunks<'a>

impl<'a> Send for Utf8Chunks<'a>

impl<'a> Sync for Utf8Chunks<'a>

impl<'a> Unpin for Utf8Chunks<'a>

impl<'a> UnsafeUnpin for Utf8Chunks<'a>

impl<'a> UnwindSafe for Utf8Chunks<'a>

impl<I> IntoIterator for Utf8Chunks<'a>

fn into_iter(self: Self) -> I

impl<T> Any for Utf8Chunks<'a>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Utf8Chunks<'a>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Utf8Chunks<'a>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Utf8Chunks<'a>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Utf8Chunks<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Utf8Chunks<'a>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Utf8Chunks<'a>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Utf8Chunks<'a>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Utf8Chunks<'a>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>