InputScopeNameValue
enum · ferroui-base · v0.5.0
enum InputScopeNameValue
A virtual keyboard and input-method hint. Values match the WinUI public ABI; they do not restrict, validate, or obscure the editor's document contents.
Members
DefaultUrlEmailSmtpAddressPersonalFullNameCurrencyAmountAndSymbolCurrencyAmountDateMonthNumberDateDayNumberDateYearDigitsNumberPasswordTelephoneNumberTelephoneCountryCodeTelephoneAreaCodeTelephoneLocalNumberTimeHourTimeMinutesOrSecondsNumberFullWidthAlphanumericHalfWidthAlphanumericFullWidthHiraganaKatakanaHalfWidthKatakanaFullWidthHanjaHangulHalfWidthHangulFullWidthSearchFormulaSearchIncrementalChineseHalfWidthChineseFullWidthNativeScriptTextChatNameOrPhoneNumberEmailNameOrAddressMapsNumericPasswordNumericPinAlphanumericPinFormulaNumberChatWithoutEmojiALLnamefrom_rawparsecontent_type
Default
Default = 0
Url
Url = 1
EmailSmtpAddress
EmailSmtpAddress = 5
PersonalFullName
PersonalFullName = 7
CurrencyAmountAndSymbol
CurrencyAmountAndSymbol = 20
CurrencyAmount
CurrencyAmount = 21
DateMonthNumber
DateMonthNumber = 23
DateDayNumber
DateDayNumber = 24
DateYear
DateYear = 25
Digits
Digits = 28
Number
Number = 29
Password
Password = 31
TelephoneNumber
TelephoneNumber = 32
TelephoneCountryCode
TelephoneCountryCode = 33
TelephoneAreaCode
TelephoneAreaCode = 34
TelephoneLocalNumber
TelephoneLocalNumber = 35
TimeHour
TimeHour = 37
TimeMinutesOrSeconds
TimeMinutesOrSeconds = 38
NumberFullWidth
NumberFullWidth = 39
AlphanumericHalfWidth
AlphanumericHalfWidth = 40
AlphanumericFullWidth
AlphanumericFullWidth = 41
Hiragana
Hiragana = 44
KatakanaHalfWidth
KatakanaHalfWidth = 45
KatakanaFullWidth
KatakanaFullWidth = 46
Hanja
Hanja = 47
HangulHalfWidth
HangulHalfWidth = 48
HangulFullWidth
HangulFullWidth = 49
Search
Search = 50
Formula
Formula = 51
SearchIncremental
SearchIncremental = 52
ChineseHalfWidth
ChineseHalfWidth = 53
ChineseFullWidth
ChineseFullWidth = 54
NativeScript
NativeScript = 55
Text
Text = 57
Chat
Chat = 58
NameOrPhoneNumber
NameOrPhoneNumber = 59
EmailNameOrAddress
EmailNameOrAddress = 60
Maps
Maps = 62
NumericPassword
NumericPassword = 63
NumericPin
NumericPin = 64
AlphanumericPin
AlphanumericPin = 65
FormulaNumber
FormulaNumber = 67
ChatWithoutEmoji
ChatWithoutEmoji = 68
ALL
const ALL: [Self; 43]
Every public value in the pinned WinUI InputScopeNameValue enumeration.
name
const fn name(self: Self) -> &'static str
The public WinUI symbolic name.
from_raw
fn from_raw(value: i32) -> Option<Self>
Converts only defined WinUI values, never manufacturing an invalid enum.
parse
fn parse(value: &str) -> Result<Self, FormatError>
Parses a public symbolic name or a defined numeric value.
content_type
fn content_type(self: Self) -> TextInputContentType
Best matching existing FerroUI content type for hosts without this exact scope. The original scope remains in TextInputOptions for richer hosts.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherFrom<InputScopeNameValue>CloneCopyDebugDefaultStructuralPartialEqPartialEqEqHashFrom<TextInputContentType>MarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.