Struct encode_unicode::error::InvalidUtf16FirstUnit
[−]
[src]
pub struct InvalidUtf16FirstUnit;
Cannot tell wether an u16
needs an extra unit,
because it's a trailing surrogate itself.
Trait Implementations
impl Clone for InvalidUtf16FirstUnit
[src]
fn clone(&self) -> InvalidUtf16FirstUnit
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
impl Copy for InvalidUtf16FirstUnit
[src]
impl Debug for InvalidUtf16FirstUnit
[src]
impl PartialEq for InvalidUtf16FirstUnit
[src]
fn eq(&self, __arg_0: &InvalidUtf16FirstUnit) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for InvalidUtf16FirstUnit
[src]
impl Error for InvalidUtf16FirstUnit
[src]
fn description(&self) -> &'static 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. Read more