#[repr(u8)]pub enum MathConstant {
Show 56 variants
ScriptPercentScaleDown = 0,
ScriptScriptPercentScaleDown = 1,
DelimitedSubFormulaMinHeight = 2,
DisplayOperatorMinHeight = 3,
MathLeading = 4,
AxisHeight = 5,
AccentBaseHeight = 6,
FlattenedAccentBaseHeight = 7,
SubscriptShiftDown = 8,
SubscriptTopMax = 9,
SubscriptBaselineDropMin = 10,
SuperscriptShiftUp = 11,
SuperscriptShiftUpCramped = 12,
SuperscriptBottomMin = 13,
SuperscriptBaselineDropMax = 14,
SubSuperscriptGapMin = 15,
SuperscriptBottomMaxWithSubscript = 16,
SpaceAfterScript = 17,
UpperLimitGapMin = 18,
UpperLimitBaselineRiseMin = 19,
LowerLimitGapMin = 20,
LowerLimitBaselineDropMin = 21,
StackTopShiftUp = 22,
StackTopDisplayStyleShiftUp = 23,
StackBottomShiftDown = 24,
StackBottomDisplayStyleShiftDown = 25,
StackGapMin = 26,
StackDisplayStyleGapMin = 27,
StretchStackTopShiftUp = 28,
StretchStackBottomShiftDown = 29,
StretchStackGapAboveMin = 30,
StretchStackGapBelowMin = 31,
FractionNumeratorShiftUp = 32,
FractionNumeratorDisplayStyleShiftUp = 33,
FractionDenominatorShiftDown = 34,
FractionDenominatorDisplayStyleShiftDown = 35,
FractionNumeratorGapMin = 36,
FractionNumDisplayStyleGapMin = 37,
FractionRuleThickness = 38,
FractionDenominatorGapMin = 39,
FractionDenomDisplayStyleGapMin = 40,
SkewedFractionHorizontalGap = 41,
SkewedFractionVerticalGap = 42,
OverbarVerticalGap = 43,
OverbarRuleThickness = 44,
OverbarExtraAscender = 45,
UnderbarVerticalGap = 46,
UnderbarRuleThickness = 47,
UnderbarExtraDescender = 48,
RadicalVerticalGap = 49,
RadicalDisplayStyleVerticalGap = 50,
RadicalRuleThickness = 51,
RadicalExtraAscender = 52,
RadicalKernBeforeDegree = 53,
RadicalKernAfterDegree = 54,
RadicalDegreeBottomRaisePercent = 55,
}Expand description
A constant in the MathConstants subtable.
The values must match HarfBuzz’s hb_ot_math_constant_t, which is
also the order the OpenType spec lists the fields in.
Variants§
ScriptPercentScaleDown = 0
ScriptScriptPercentScaleDown = 1
DelimitedSubFormulaMinHeight = 2
DisplayOperatorMinHeight = 3
MathLeading = 4
AxisHeight = 5
AccentBaseHeight = 6
FlattenedAccentBaseHeight = 7
SubscriptShiftDown = 8
SubscriptTopMax = 9
SubscriptBaselineDropMin = 10
SuperscriptShiftUp = 11
SuperscriptShiftUpCramped = 12
SuperscriptBottomMin = 13
SuperscriptBaselineDropMax = 14
SubSuperscriptGapMin = 15
SuperscriptBottomMaxWithSubscript = 16
SpaceAfterScript = 17
UpperLimitGapMin = 18
UpperLimitBaselineRiseMin = 19
LowerLimitGapMin = 20
LowerLimitBaselineDropMin = 21
StackTopShiftUp = 22
StackTopDisplayStyleShiftUp = 23
StackBottomShiftDown = 24
StackBottomDisplayStyleShiftDown = 25
StackGapMin = 26
StackDisplayStyleGapMin = 27
StretchStackTopShiftUp = 28
StretchStackBottomShiftDown = 29
StretchStackGapAboveMin = 30
StretchStackGapBelowMin = 31
FractionNumeratorShiftUp = 32
FractionNumeratorDisplayStyleShiftUp = 33
FractionDenominatorShiftDown = 34
FractionDenominatorDisplayStyleShiftDown = 35
FractionNumeratorGapMin = 36
FractionNumDisplayStyleGapMin = 37
FractionRuleThickness = 38
FractionDenominatorGapMin = 39
FractionDenomDisplayStyleGapMin = 40
SkewedFractionHorizontalGap = 41
SkewedFractionVerticalGap = 42
OverbarVerticalGap = 43
OverbarRuleThickness = 44
OverbarExtraAscender = 45
UnderbarVerticalGap = 46
UnderbarRuleThickness = 47
UnderbarExtraDescender = 48
RadicalVerticalGap = 49
RadicalDisplayStyleVerticalGap = 50
RadicalRuleThickness = 51
RadicalExtraAscender = 52
RadicalKernBeforeDegree = 53
RadicalKernAfterDegree = 54
RadicalDegreeBottomRaisePercent = 55
Implementations§
Source§impl MathConstant
impl MathConstant
Trait Implementations§
Source§impl Clone for MathConstant
impl Clone for MathConstant
impl Copy for MathConstant
Source§impl Debug for MathConstant
impl Debug for MathConstant
impl Eq for MathConstant
Source§impl PartialEq for MathConstant
impl PartialEq for MathConstant
impl StructuralPartialEq for MathConstant
Auto Trait Implementations§
impl Freeze for MathConstant
impl RefUnwindSafe for MathConstant
impl Send for MathConstant
impl Sync for MathConstant
impl Unpin for MathConstant
impl UnsafeUnpin for MathConstant
impl UnwindSafe for MathConstant
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