NumberExpressionErrorKind
enum · ferroui-controls · v0.5.0
enum NumberExpressionErrorKind
What is wrong with an expression.
Members
TooLongTooManyTokensExpectedNumberInvalidNumberExpectedOperatorUnmatchedClosingParenthesisUnmatchedOpeningParenthesisDivisionByZeroOverflow
TooLong
TooLong
The input is longer than 64 KiB.
TooManyTokens
TooManyTokens
The input has more than 4096 tokens.
ExpectedNumber
ExpectedNumber
A number (or an opening parenthesis) was expected.
InvalidNumber
InvalidNumber
The parser of the caller does not read the text as a number.
ExpectedOperator
ExpectedOperator
An operator (or a closing parenthesis) was expected.
UnmatchedClosingParenthesis
UnmatchedClosingParenthesis
A closing parenthesis has no opening one.
UnmatchedOpeningParenthesis
UnmatchedOpeningParenthesis
An opening parenthesis is not closed.
DivisionByZero
DivisionByZero
A division by zero. WinUI's NumberBox gives the expression the value NaN.
Overflow
Overflow
A result is not a value of the number type.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.