Struct std::char::DecodeUtf16Error 1.9.0
[−]
[src]
pub struct DecodeUtf16Error {
// some fields omitted
}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
impl Error for DecodeUtf16Error[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0
The lower-level cause of this error, if any.
Derived Implementations
impl PartialEq<DecodeUtf16Error> for DecodeUtf16Error
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 Eq for DecodeUtf16Error
impl Clone for DecodeUtf16Error
fn clone(&self) -> DecodeUtf16Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more