FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NumberExpressionErrorKind

    enum · ferroui-controls · v0.5.0

    enum NumberExpressionErrorKind
    

    What is wrong with an expression.

    View source

    Members

    TooLong

    TooLong
    

    The input is longer than 64 KiB.

    Source

    TooManyTokens

    TooManyTokens
    

    The input has more than 4096 tokens.

    Source

    ExpectedNumber

    ExpectedNumber
    

    A number (or an opening parenthesis) was expected.

    Source

    InvalidNumber

    InvalidNumber
    

    The parser of the caller does not read the text as a number.

    Source

    ExpectedOperator

    ExpectedOperator
    

    An operator (or a closing parenthesis) was expected.

    Source

    UnmatchedClosingParenthesis

    UnmatchedClosingParenthesis
    

    A closing parenthesis has no opening one.

    Source

    UnmatchedOpeningParenthesis

    UnmatchedOpeningParenthesis
    

    An opening parenthesis is not closed.

    Source

    DivisionByZero

    DivisionByZero
    

    A division by zero. WinUI's NumberBox gives the expression the value NaN.

    Source

    Overflow

    Overflow
    

    A result is not a value of the number type.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.