Enum allsorts::error::ShapingError
source · pub enum ShapingError {
Indic(IndicError),
Parse(ParseError),
}
Expand description
Error returned from font shaping functions
Variants§
Indic(IndicError)
Parse(ParseError)
Trait Implementations§
source§impl Clone for ShapingError
impl Clone for ShapingError
source§fn clone(&self) -> ShapingError
fn clone(&self) -> ShapingError
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 ShapingError
impl Debug for ShapingError
source§impl Display for ShapingError
impl Display for ShapingError
source§impl Error for ShapingError
impl Error for ShapingError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<IndicError> for ShapingError
impl From<IndicError> for ShapingError
source§fn from(error: IndicError) -> Self
fn from(error: IndicError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for ShapingError
impl From<ParseError> for ShapingError
source§fn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for ShapingError
impl From<TryFromIntError> for ShapingError
source§fn from(_error: TryFromIntError) -> Self
fn from(_error: TryFromIntError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ShapingError> for ShapingError
impl PartialEq<ShapingError> for ShapingError
source§fn eq(&self, other: &ShapingError) -> bool
fn eq(&self, other: &ShapingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ShapingError
impl StructuralEq for ShapingError
impl StructuralPartialEq for ShapingError
Auto Trait Implementations§
impl RefUnwindSafe for ShapingError
impl Send for ShapingError
impl Sync for ShapingError
impl Unpin for ShapingError
impl UnwindSafe for ShapingError
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