pub struct DecodeUtf16Error { /* fields omitted */ }
An iterator that decodes UTF-16 encoded code points from an iterator of u16
s.
impl DecodeUtf16Error
[src]
fn unpaired_surrogate(&self) -> u16
Returns the unpaired surrogate which caused this error.
impl Clone for DecodeUtf16Error
[src]
fn clone(&self) -> DecodeUtf16Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Display for DecodeUtf16Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Debug for DecodeUtf16Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Eq for DecodeUtf16Error
[src]
impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error
[src]
fn eq(&self, __arg_0: &DecodeUtf16Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecodeUtf16Error) -> bool
This method tests for !=
.
impl Error for DecodeUtf16Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/char/struct.DecodeUtf16Error.html