pub struct NonBmpError;
Expand description
Error returned by Utf16Char::from_bmp()
for units that are not a standalone codepoint.
Trait Implementations§
Source§impl Clone for NonBmpError
impl Clone for NonBmpError
Source§fn clone(&self) -> NonBmpError
fn clone(&self) -> NonBmpError
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 NonBmpError
impl Debug for NonBmpError
Source§impl Display for NonBmpError
impl Display for NonBmpError
Source§impl Error for NonBmpError
impl Error for NonBmpError
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 NonBmpError
impl PartialEq for NonBmpError
impl Copy for NonBmpError
impl Eq for NonBmpError
impl StructuralPartialEq for NonBmpError
Auto Trait Implementations§
impl Freeze for NonBmpError
impl RefUnwindSafe for NonBmpError
impl Send for NonBmpError
impl Sync for NonBmpError
impl Unpin for NonBmpError
impl UnwindSafe for NonBmpError
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