FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaskedTextResultHint

    enum · ferroui-controls · v0.5.0

    enum MaskedTextResultHint
    

    Specifies the result of a MaskedTextProvider operation. Positive values are successes, negative values failures (see MaskedTextProvider::get_operation_result_from_hint).

    View source

    Members

    PositionOutOfRange

    PositionOutOfRange = -55
    

    The input position is out of the allowed range. Failure.

    Source

    NonEditPosition

    NonEditPosition = -54
    

    The position is not editable and the input does not match the literal. Failure.

    Source

    UnavailableEditPosition

    UnavailableEditPosition = -53
    

    There are no more edit positions available. Failure.

    Source

    PromptCharNotAllowed

    PromptCharNotAllowed = -52
    

    The prompt character is not valid input. Failure.

    Source

    InvalidInput

    InvalidInput = -51
    

    The input character is not valid for the mask language at all. Failure.

    Source

    SignedDigitExpected

    SignedDigitExpected = -5
    

    A digit or sign was expected. Failure.

    Source

    LetterExpected

    LetterExpected = -4
    

    A letter was expected. Failure.

    Source

    DigitExpected

    DigitExpected = -3
    

    A digit was expected. Failure.

    Source

    AlphanumericCharacterExpected

    AlphanumericCharacterExpected = -2
    

    An alphanumeric character was expected. Failure.

    Source

    AsciiCharacterExpected

    AsciiCharacterExpected = -1
    

    An ASCII character was expected. Failure.

    Source

    Unknown

    Unknown = 0
    

    Unknown; the initial value of a hint.

    Source

    CharacterEscaped

    CharacterEscaped = 1
    

    The character was escaped (a literal that was skipped, or a prompt or space over an unassigned position). Success.

    Source

    NoEffect

    NoEffect = 2
    

    The operation changed nothing. Success.

    Source

    SideEffect

    SideEffect = 3
    

    The operation had a side effect (characters were shifted, or a position was reset). Success.

    Source

    Success

    Success = 4
    

    The primary operation succeeded. Success.

    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
    • PartialOrd
    • Ord
    • Hash

    Availability

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