Struct std::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]
impl DecodeUtf16Errorpub fn unpaired_surrogate(&self) -> u16[src]
pub fn unpaired_surrogate(&self) -> u16Returns the unpaired surrogate which caused this error.
Trait Implementations
impl Clone for DecodeUtf16Error[src]
impl Clone for DecodeUtf16Errorfn clone(&self) -> DecodeUtf16Error[src]
fn clone(&self) -> DecodeUtf16ErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for DecodeUtf16Error[src]
impl Debug for DecodeUtf16Errorfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Eq for DecodeUtf16Error[src]
impl Eq for DecodeUtf16Errorimpl PartialEq<DecodeUtf16Error> for DecodeUtf16Error[src]
impl PartialEq<DecodeUtf16Error> for DecodeUtf16Errorfn eq(&self, other: &DecodeUtf16Error) -> bool[src]
fn eq(&self, other: &DecodeUtf16Error) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DecodeUtf16Error) -> bool[src]
fn ne(&self, other: &DecodeUtf16Error) -> boolThis method tests for !=.
impl Display for DecodeUtf16Error[src]
impl Display for DecodeUtf16Errorfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Error for DecodeUtf16Error[src]
impl Error for DecodeUtf16ErrorAuto Trait Implementations
impl Send for DecodeUtf16Error
impl Send for DecodeUtf16Errorimpl Sync for DecodeUtf16Error
impl Sync for DecodeUtf16Error