Struct DecodeUtf16

struct DecodeUtf16<I> { ... }
where
    I: Iterator<Item = u16>

An iterator that decodes UTF-16 encoded code points from an iterator of u16s.

This struct is created by the decode_utf16 method on char. See its documentation for more.

Implementations

impl<I> Clone for DecodeUtf16<I>

fn clone(self: &Self) -> DecodeUtf16<I>

impl<I> Debug for DecodeUtf16<I>

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

impl<I> Freeze for DecodeUtf16<I>

impl<I> IntoIterator for DecodeUtf16<I>

fn into_iter(self: Self) -> I

impl<I> RefUnwindSafe for DecodeUtf16<I>

impl<I> Send for DecodeUtf16<I>

impl<I> Sync for DecodeUtf16<I>

impl<I> Unpin for DecodeUtf16<I>

impl<I> UnsafeUnpin for DecodeUtf16<I>

impl<I> UnwindSafe for DecodeUtf16<I>

impl<I: Iterator<Item = u16> + FusedIterator> FusedIterator for DecodeUtf16<I>

impl<I: Iterator<Item = u16>> Iterator for DecodeUtf16<I>

fn next(self: &mut Self) -> Option<Result<char, DecodeUtf16Error>>
fn size_hint(self: &Self) -> (usize, Option<usize>)

impl<T> Any for DecodeUtf16<I>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for DecodeUtf16<I>

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

impl<T> BorrowMut for DecodeUtf16<I>

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

impl<T> CloneToUninit for DecodeUtf16<I>

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

impl<T> From for DecodeUtf16<I>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for DecodeUtf16<I>

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 DecodeUtf16<I>

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

impl<T, U> TryInto for DecodeUtf16<I>

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