#[repr(C)]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
The constants of the OpenType MATH table, in table order.
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
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 Hash for MathConstant
impl Hash for MathConstant
Source§impl Ord for MathConstant
impl Ord for MathConstant
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MathConstant
impl PartialEq for MathConstant
Source§impl PartialOrd for MathConstant
impl PartialOrd for MathConstant
impl StructuralPartialEq for MathConstant
Auto Trait Implementations§
impl Forget for MathConstant
impl Freeze for MathConstant
impl Move 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