Function core::char::decode_utf16

1.9.0 · source · []
pub fn decode_utf16<I: IntoIterator<Item = u16>>(
    iter: I
) -> DecodeUtf16<I::IntoIter>Notable traits for DecodeUtf16<I>impl<I: Iterator<Item = u16>> Iterator for DecodeUtf16<I> type Item = Result<char, DecodeUtf16Error>;
Expand description

Creates an iterator over the UTF-16 encoded code points in iter, returning unpaired surrogates as Errs. Use char::decode_utf16 instead.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.