pub enum HintErrorKind {
Show 22 variants
UnexpectedEndOfBytecode,
UnhandledOpcode(Opcode),
DefinitionInGlyphProgram,
NestedDefinition,
DefinitionTooLarge,
TooManyDefinitions,
InvalidDefinition(usize),
ValueStackOverflow,
ValueStackUnderflow,
CallStackOverflow,
CallStackUnderflow,
InvalidStackValue(i32),
InvalidPointIndex(usize),
InvalidPointRange(usize, usize),
InvalidContourIndex(usize),
InvalidCvtIndex(usize),
InvalidStorageIndex(usize),
DivideByZero,
InvalidZoneIndex(i32),
NegativeLoopCounter,
InvalidJump,
ExceededExecutionBudget,
}
Expand description
Errors that may occur when interpreting TrueType bytecode.
Variants§
UnexpectedEndOfBytecode
UnhandledOpcode(Opcode)
DefinitionInGlyphProgram
NestedDefinition
DefinitionTooLarge
TooManyDefinitions
InvalidDefinition(usize)
ValueStackOverflow
ValueStackUnderflow
CallStackOverflow
CallStackUnderflow
InvalidStackValue(i32)
InvalidPointIndex(usize)
InvalidPointRange(usize, usize)
InvalidContourIndex(usize)
InvalidCvtIndex(usize)
InvalidStorageIndex(usize)
DivideByZero
InvalidZoneIndex(i32)
NegativeLoopCounter
InvalidJump
ExceededExecutionBudget
Trait Implementations§
Source§impl Clone for HintErrorKind
impl Clone for HintErrorKind
Source§fn clone(&self) -> HintErrorKind
fn clone(&self) -> HintErrorKind
Returns a duplicate 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 HintErrorKind
impl Debug for HintErrorKind
Source§impl Display for HintErrorKind
impl Display for HintErrorKind
Source§impl From<DecodeError> for HintErrorKind
impl From<DecodeError> for HintErrorKind
Source§fn from(_: DecodeError) -> Self
fn from(_: DecodeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HintErrorKind
impl PartialEq for HintErrorKind
impl StructuralPartialEq for HintErrorKind
Auto Trait Implementations§
impl Freeze for HintErrorKind
impl RefUnwindSafe for HintErrorKind
impl Send for HintErrorKind
impl Sync for HintErrorKind
impl Unpin for HintErrorKind
impl UnwindSafe for HintErrorKind
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