Struct rustc_unicode::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

Derived Implementations

impl PartialEq for DecodeUtf16Error

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

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

impl Eq for DecodeUtf16Error

impl Clone for DecodeUtf16Error

fn clone(&self) -> DecodeUtf16Error

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

impl Debug for DecodeUtf16Error

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