FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GeneralCategory

    enum · ferroui-base · v0.5.0

    enum GeneralCategory
    

    The Unicode GeneralCategory property values, numbered as the generated tries store them.

    View source

    Members

    Other

    Other = 0
    

    Property value alias: C# Cc | Cf | Cn | Co | Cs

    Source

    Control

    Control = 1
    

    Property value alias: Cc

    Source

    Format

    Format = 2
    

    Property value alias: Cf

    Source

    Unassigned

    Unassigned = 3
    

    Property value alias: Cn

    Source

    PrivateUse

    PrivateUse = 4
    

    Property value alias: Co

    Source

    Surrogate

    Surrogate = 5
    

    Property value alias: Cs

    Source

    Letter

    Letter = 6
    

    Property value alias: L# Ll | Lm | Lo | Lt | Lu

    Source

    CasedLetter

    CasedLetter = 7
    

    Property value alias: LC# Ll | Lt | Lu

    Source

    LowercaseLetter

    LowercaseLetter = 8
    

    Property value alias: Ll

    Source

    ModifierLetter

    ModifierLetter = 9
    

    Property value alias: Lm

    Source

    OtherLetter

    OtherLetter = 10
    

    Property value alias: Lo

    Source

    TitlecaseLetter

    TitlecaseLetter = 11
    

    Property value alias: Lt

    Source

    UppercaseLetter

    UppercaseLetter = 12
    

    Property value alias: Lu

    Source

    Mark

    Mark = 13
    

    Property value alias: M

    Source

    SpacingMark

    SpacingMark = 14
    

    Property value alias: Mc

    Source

    EnclosingMark

    EnclosingMark = 15
    

    Property value alias: Me

    Source

    NonspacingMark

    NonspacingMark = 16
    

    Property value alias: Mn

    Source

    Number

    Number = 17
    

    Property value alias: N# Nd | Nl | No

    Source

    DecimalNumber

    DecimalNumber = 18
    

    Property value alias: Nd

    Source

    LetterNumber

    LetterNumber = 19
    

    Property value alias: Nl

    Source

    OtherNumber

    OtherNumber = 20
    

    Property value alias: No

    Source

    Punctuation

    Punctuation = 21
    

    Property value alias: P

    Source

    ConnectorPunctuation

    ConnectorPunctuation = 22
    

    Property value alias: Pc

    Source

    DashPunctuation

    DashPunctuation = 23
    

    Property value alias: Pd

    Source

    ClosePunctuation

    ClosePunctuation = 24
    

    Property value alias: Pe

    Source

    FinalPunctuation

    FinalPunctuation = 25
    

    Property value alias: Pf

    Source

    InitialPunctuation

    InitialPunctuation = 26
    

    Property value alias: Pi

    Source

    OtherPunctuation

    OtherPunctuation = 27
    

    Property value alias: Po

    Source

    OpenPunctuation

    OpenPunctuation = 28
    

    Property value alias: Ps

    Source

    Symbol

    Symbol = 29
    

    Property value alias: S# Sc | Sk | Sm | So

    Source

    CurrencySymbol

    CurrencySymbol = 30
    

    Property value alias: Sc

    Source

    ModifierSymbol

    ModifierSymbol = 31
    

    Property value alias: Sk

    Source

    MathSymbol

    MathSymbol = 32
    

    Property value alias: Sm

    Source

    OtherSymbol

    OtherSymbol = 33
    

    Property value alias: So

    Source

    Separator

    Separator = 34
    

    Property value alias: Z# Zl | Zp | Zs

    Source

    LineSeparator

    LineSeparator = 35
    

    Property value alias: Zl

    Source

    ParagraphSeparator

    ParagraphSeparator = 36
    

    Property value alias: Zp

    Source

    SpaceSeparator

    SpaceSeparator = 37
    

    Property value alias: Zs

    Source

    COUNT

    const COUNT: usize
    

    The number of values.

    Source

    from_u32

    const fn from_u32(value: u32) -> Self
    

    Converts the numeric value stored in the generated tries (the cast upstream performs). Values outside of the enum map to Other (value 0).

    Source

    Trait implementations

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

    Availability

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