FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    UnicodeRangeSegment

    struct · ferroui-base · v0.5.0

    struct UnicodeRangeSegment
    

    One contiguous range of code points.

    View source

    Members

    new

    const fn new(start: i32, end: i32) -> Self
    

    Source

    start

    const fn start(self: &Self) -> i32
    

    Get the start of the unicode range.

    Source

    end

    const fn end(self: &Self) -> i32
    

    Get the end of the unicode range.

    Source

    is_in_range

    const fn is_in_range(self: &Self, value: i32) -> bool
    

    Determines if given value is in range.

    Source

    parse

    fn parse(s: &str) -> Result<UnicodeRangeSegment, FormatError>
    

    Parses a UnicodeRangeSegment: U+20, U+30?? or 0-10FFFD.

    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
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • FromStr

    Availability

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