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 · 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 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
sourcefn eq(&self, other: &IndicError) -> bool
fn eq(&self, other: &IndicError) -> bool
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 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