Enum allsorts::error::IndicError
source · [−]pub enum IndicError {
EmptyBuffer,
MissingBaseConsonant,
MissingDottedCircle,
MissingTags,
UnexpectedGlyphOrigin,
}
Expand description
Error returned from font shaping Indic scripts
Variants
EmptyBuffer
MissingBaseConsonant
MissingDottedCircle
MissingTags
UnexpectedGlyphOrigin
Trait Implementations
sourceimpl Clone for IndicError
impl Clone for IndicError
sourcefn clone(&self) -> IndicError
fn clone(&self) -> IndicError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IndicError
impl Debug for IndicError
sourceimpl Display for IndicError
impl Display for IndicError
sourceimpl Error for IndicError
impl Error for IndicError
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 PartialEq<IndicError> for IndicError
impl PartialEq<IndicError> for IndicError
impl Eq for IndicError
impl StructuralEq for IndicError
impl StructuralPartialEq for IndicError
Auto Trait Implementations
impl RefUnwindSafe for IndicError
impl Send for IndicError
impl Sync for IndicError
impl Unpin for IndicError
impl UnwindSafe for IndicError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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