FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PreparedShapedText

    struct · ferroui-pretext · v0.5.0

    struct PreparedShapedText
    

    A prepared text object and its shaping snapshot. It retains its backend, so clearing or replacing an engine's backend cannot invalidate retained lines.

    View source

    Members

    prepared

    fn prepared(self: &Self) -> &Rc<PreparedTextWithSegments>
    

    Source

    direction

    fn direction(self: &Self) -> PretextTextDirection
    

    Source

    options

    fn options(self: &Self) -> PretextShapeOptions
    

    Source

    text

    fn text(self: &Self) -> &str
    

    Source

    shaped_run

    fn shaped_run(self: &Self) -> &Rc<PretextShapedRun>
    

    Source

    Trait implementations

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

    Availability

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