pub enum JavascriptTextError {
LoneSurrogate {
index: usize,
unit: u16,
},
}Expand description
Error crossing from the code-unit face to canonical scalar SIM text.
Variants§
LoneSurrogate
The unit sequence contains an unpaired surrogate.
Trait Implementations§
Source§impl Clone for JavascriptTextError
impl Clone for JavascriptTextError
Source§fn clone(&self) -> JavascriptTextError
fn clone(&self) -> JavascriptTextError
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 moreSource§impl Debug for JavascriptTextError
impl Debug for JavascriptTextError
impl Eq for JavascriptTextError
Source§impl PartialEq for JavascriptTextError
impl PartialEq for JavascriptTextError
impl StructuralPartialEq for JavascriptTextError
Auto Trait Implementations§
impl Freeze for JavascriptTextError
impl RefUnwindSafe for JavascriptTextError
impl Send for JavascriptTextError
impl Sync for JavascriptTextError
impl Unpin for JavascriptTextError
impl UnsafeUnpin for JavascriptTextError
impl UnwindSafe for JavascriptTextError
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.