pub struct IllFormedUtf16 {
pub unit_offset: usize,
}Expand description
The first unpaired surrogate encountered while validating UTF-16.
Fields§
§unit_offset: usizeOffset, in UTF-16 code units, of the unpaired surrogate.
Trait Implementations§
Source§impl Clone for IllFormedUtf16
impl Clone for IllFormedUtf16
Source§fn clone(&self) -> IllFormedUtf16
fn clone(&self) -> IllFormedUtf16
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IllFormedUtf16
Source§impl Debug for IllFormedUtf16
impl Debug for IllFormedUtf16
Source§impl Display for IllFormedUtf16
impl Display for IllFormedUtf16
impl Eq for IllFormedUtf16
Source§impl Error for IllFormedUtf16
impl Error for IllFormedUtf16
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for IllFormedUtf16
impl Hash for IllFormedUtf16
Source§impl PartialEq for IllFormedUtf16
impl PartialEq for IllFormedUtf16
impl StructuralPartialEq for IllFormedUtf16
Auto Trait Implementations§
impl Freeze for IllFormedUtf16
impl RefUnwindSafe for IllFormedUtf16
impl Send for IllFormedUtf16
impl Sync for IllFormedUtf16
impl Unpin for IllFormedUtf16
impl UnsafeUnpin for IllFormedUtf16
impl UnwindSafe for IllFormedUtf16
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more