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).
Members
PositionOutOfRangeNonEditPositionUnavailableEditPositionPromptCharNotAllowedInvalidInputSignedDigitExpectedLetterExpectedDigitExpectedAlphanumericCharacterExpectedAsciiCharacterExpectedUnknownCharacterEscapedNoEffectSideEffectSuccess
PositionOutOfRange
PositionOutOfRange = -55
The input position is out of the allowed range. Failure.
NonEditPosition
NonEditPosition = -54
The position is not editable and the input does not match the literal. Failure.
UnavailableEditPosition
UnavailableEditPosition = -53
There are no more edit positions available. Failure.
PromptCharNotAllowed
PromptCharNotAllowed = -52
The prompt character is not valid input. Failure.
InvalidInput
InvalidInput = -51
The input character is not valid for the mask language at all. Failure.
SignedDigitExpected
SignedDigitExpected = -5
A digit or sign was expected. Failure.
LetterExpected
LetterExpected = -4
A letter was expected. Failure.
DigitExpected
DigitExpected = -3
A digit was expected. Failure.
AlphanumericCharacterExpected
AlphanumericCharacterExpected = -2
An alphanumeric character was expected. Failure.
AsciiCharacterExpected
AsciiCharacterExpected = -1
An ASCII character was expected. Failure.
Unknown
Unknown = 0
Unknown; the initial value of a hint.
CharacterEscaped
CharacterEscaped = 1
The character was escaped (a literal that was skipped, or a prompt or space over an unassigned position). Success.
NoEffect
NoEffect = 2
The operation changed nothing. Success.
SideEffect
SideEffect = 3
The operation had a side effect (characters were shifted, or a position was reset). Success.
Success
Success = 4
The primary operation succeeded. Success.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqPartialOrdOrdHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.