FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextTrailingWordEllipsis

    struct · ferroui-base · v0.5.0

    struct TextTrailingWordEllipsis
    

    A collapsing properties to collapse whole line toward the end at word granularity.

    View source

    Members

    new

    fn new(ellipsis: &str, width: f64, text_run_properties: Rc<dyn TextRunProperties>, flow_direction: FlowDirection) -> Self
    

    Construct a text trailing word ellipsis collapsing properties.

    • ellipsis — text used as collapsing symbol.
    • width — width in which collapsing is constrained to.
    • text_run_properties — text run properties of ellipsis symbol.
    • flow_direction — the flow direction of the collapsed line.

    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
    • TextCollapsingProperties

    Availability

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