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
sourceimpl Clone for ShapingError
impl Clone for ShapingError
sourcefn clone(&self) -> ShapingError
fn clone(&self) -> ShapingError
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ShapingError
impl Debug for ShapingError
sourceimpl Display for ShapingError
impl Display for ShapingError
sourceimpl Error for ShapingError
impl Error for ShapingError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<IndicError> for ShapingError
impl From<IndicError> for ShapingError
sourcefn from(error: IndicError) -> Self
fn from(error: IndicError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseError> for ShapingError
impl From<ParseError> for ShapingError
sourcefn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
sourceimpl From<TryFromIntError> for ShapingError
impl From<TryFromIntError> for ShapingError
sourcefn from(_error: TryFromIntError) -> Self
fn from(_error: TryFromIntError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ShapingError> for ShapingError
impl PartialEq<ShapingError> for ShapingError
sourcefn eq(&self, other: &ShapingError) -> bool
fn eq(&self, other: &ShapingError) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more