Struct std_unicode::char::DecodeUtf16Error 1.9.0
[−]
[src]
pub struct DecodeUtf16Error { /* fields omitted */ }
An error that can be returned when decoding UTF-16 code points.
Methods
impl DecodeUtf16Error
[src]
pub fn unpaired_surrogate(&self) -> u16
[src]
Returns the unpaired surrogate which caused this error.
Trait Implementations
impl Debug for DecodeUtf16Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DecodeUtf16Error
[src]
fn clone(&self) -> DecodeUtf16Error
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for DecodeUtf16Error
[src]
impl PartialEq for DecodeUtf16Error
[src]
fn eq(&self, __arg_0: &DecodeUtf16Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecodeUtf16Error) -> bool
[src]
This method tests for !=
.