FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RichTextLineMetrics

    struct · ferroui-controls · v0.5.0

    struct RichTextLineMetrics
    

    Public metrics in document UTF-16 coordinates and view-local pixels.

    View source

    Members

    start

    start: usize
    

    Source

    length

    length: usize
    

    Source

    bounds

    bounds: ferroui_base::Rect
    

    The allocated line space used by layout and caret geometry.

    Source

    baseline

    baseline: f64
    

    The baseline after the glyph box has been positioned within the line.

    Source

    Trait implementations

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

    Availability

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