pub struct StyledTextError { /* private fields */ }Expand description
A grapheme boundary between two input spans was invalid.
Implementations§
Trait Implementations§
Source§impl Clone for StyledTextError
impl Clone for StyledTextError
Source§fn clone(&self) -> StyledTextError
fn clone(&self) -> StyledTextError
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 StyledTextError
impl Debug for StyledTextError
Source§impl Display for StyledTextError
impl Display for StyledTextError
Source§impl Error for StyledTextError
impl Error for StyledTextError
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 PartialEq for StyledTextError
impl PartialEq for StyledTextError
Source§fn eq(&self, other: &StyledTextError) -> bool
fn eq(&self, other: &StyledTextError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StyledTextError
impl Eq for StyledTextError
impl StructuralPartialEq for StyledTextError
Auto Trait Implementations§
impl Freeze for StyledTextError
impl RefUnwindSafe for StyledTextError
impl Send for StyledTextError
impl Sync for StyledTextError
impl Unpin for StyledTextError
impl UnsafeUnpin for StyledTextError
impl UnwindSafe for StyledTextError
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