pub struct InvalidUtf16FirstUnit;
Expand description
Cannot tell whether an u16
needs an extra unit,
because it’s a trailing surrogate itself.
Trait Implementations§
Source§impl Clone for InvalidUtf16FirstUnit
impl Clone for InvalidUtf16FirstUnit
Source§fn clone(&self) -> InvalidUtf16FirstUnit
fn clone(&self) -> InvalidUtf16FirstUnit
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InvalidUtf16FirstUnit
impl Debug for InvalidUtf16FirstUnit
Source§impl Display for InvalidUtf16FirstUnit
impl Display for InvalidUtf16FirstUnit
Source§impl Error for InvalidUtf16FirstUnit
impl Error for InvalidUtf16FirstUnit
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl PartialEq for InvalidUtf16FirstUnit
impl PartialEq for InvalidUtf16FirstUnit
impl Copy for InvalidUtf16FirstUnit
impl Eq for InvalidUtf16FirstUnit
impl StructuralPartialEq for InvalidUtf16FirstUnit
Auto Trait Implementations§
impl Freeze for InvalidUtf16FirstUnit
impl RefUnwindSafe for InvalidUtf16FirstUnit
impl Send for InvalidUtf16FirstUnit
impl Sync for InvalidUtf16FirstUnit
impl Unpin for InvalidUtf16FirstUnit
impl UnwindSafe for InvalidUtf16FirstUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)