pub struct InvalidCodePoint {
pub value: u32,
}Expand description
A code point outside the Unicode scalar-value range.
Fields§
§value: u32The rejected code point.
Trait Implementations§
Source§impl Clone for InvalidCodePoint
impl Clone for InvalidCodePoint
Source§fn clone(&self) -> InvalidCodePoint
fn clone(&self) -> InvalidCodePoint
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 InvalidCodePoint
Source§impl Debug for InvalidCodePoint
impl Debug for InvalidCodePoint
Source§impl Display for InvalidCodePoint
impl Display for InvalidCodePoint
impl Eq for InvalidCodePoint
Source§impl Error for InvalidCodePoint
impl Error for InvalidCodePoint
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 InvalidCodePoint
impl Hash for InvalidCodePoint
Source§impl PartialEq for InvalidCodePoint
impl PartialEq for InvalidCodePoint
impl StructuralPartialEq for InvalidCodePoint
Auto Trait Implementations§
impl Freeze for InvalidCodePoint
impl RefUnwindSafe for InvalidCodePoint
impl Send for InvalidCodePoint
impl Sync for InvalidCodePoint
impl Unpin for InvalidCodePoint
impl UnsafeUnpin for InvalidCodePoint
impl UnwindSafe for InvalidCodePoint
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