FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    UnshapedTextRun

    struct · ferroui-base · v0.5.0

    struct UnshapedTextRun
    

    A group of characters that can be shaped.

    View source

    Members

    new

    fn new(text: ReadOnlyMemory<u16>, properties: Rc<dyn TextRunProperties>, bidi_level: i8) -> Self
    

    Source

    bidi_level

    fn bidi_level(self: &Self) -> i8
    

    The bidi level of the run.

    Source

    run_properties

    fn run_properties(self: &Self) -> &Rc<dyn TextRunProperties>
    

    The run's properties (never absent for an unshaped run).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • TextRun

    Availability

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