FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EastAsianWidthClass

    enum · ferroui-base · v0.5.0

    enum EastAsianWidthClass
    

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

    View source

    Members

    Ambiguous

    Ambiguous = 0
    

    Property value alias: A

    Source

    Fullwidth

    Fullwidth = 1
    

    Property value alias: F

    Source

    Halfwidth

    Halfwidth = 2
    

    Property value alias: H

    Source

    Neutral

    Neutral = 3
    

    Property value alias: N

    Source

    Narrow

    Narrow = 4
    

    Property value alias: Na

    Source

    Wide

    Wide = 5
    

    Property value alias: W

    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 Ambiguous (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.