Enum write_fonts::tables::gvar::GvarInputError
source · pub enum GvarInputError {
InconsistentAxisCount,
InconsistentGlyphAxisCount(GlyphId),
InconsistentDeltaLength(GlyphId),
InconsistentTupleLengths(GlyphId),
}Expand description
An error representing invalid input when building a gvar table
Variants§
InconsistentAxisCount
Glyphs do not have a consistent axis count
InconsistentGlyphAxisCount(GlyphId)
A single glyph contains variations with inconsistent axis counts
InconsistentDeltaLength(GlyphId)
A single glyph contains variations with different delta counts
InconsistentTupleLengths(GlyphId)
A variation in this glyph contains an intermediate region with a different length than the peak.
Trait Implementations§
source§impl Clone for GvarInputError
impl Clone for GvarInputError
source§fn clone(&self) -> GvarInputError
fn clone(&self) -> GvarInputError
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 GvarInputError
impl Debug for GvarInputError
source§impl Display for GvarInputError
impl Display for GvarInputError
source§impl Error for GvarInputError
impl Error for GvarInputError
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()
Auto Trait Implementations§
impl RefUnwindSafe for GvarInputError
impl Send for GvarInputError
impl Sync for GvarInputError
impl Unpin for GvarInputError
impl UnwindSafe for GvarInputError
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
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.