Struct core::char::DecodeUtf16Error
1.9.0·
source[−]pub struct DecodeUtf16Error { /* private fields */ }
Expand description
An error that can be returned when decoding UTF-16 code points.
This struct
is created when using the DecodeUtf16
type.
Implementations
Returns the unpaired surrogate which caused this error.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.