Struct std::char::DecodeUtf16Error [] [src]

pub struct DecodeUtf16Error {
    // some fields omitted
}
1.9.0

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

Methods

impl DecodeUtf16Error

fn unpaired_surrogate(&self) -> u16

Returns the unpaired surrogate which caused this error.

Trait Implementations

impl Display for DecodeUtf16Error

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

impl Error for DecodeUtf16Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>1.0.0

Derived Implementations

impl Eq for DecodeUtf16Error

impl Clone for DecodeUtf16Error

fn clone(&self) -> DecodeUtf16Error

fn clone_from(&mut self, source: &Self)1.0.0

impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error

fn eq(&self, __arg_0: &DecodeUtf16Error) -> bool

fn ne(&self, __arg_0: &DecodeUtf16Error) -> bool

impl Debug for DecodeUtf16Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>