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§
source§impl DecodeUtf16Error
impl DecodeUtf16Error
1.9.0 · sourcepub fn unpaired_surrogate(&self) -> u16
pub fn unpaired_surrogate(&self) -> u16
Returns the unpaired surrogate which caused this error.