Skip to main content

TextOverflowExt

Trait TextOverflowExt 

Source
pub trait TextOverflowExt: TextStyleExt {
    // Provided method
    fn text_overflow(self, text_overflow: impl Into<TextOverflow>) -> Self { ... }
}
Expand description

Methods for truncating text within an element’s bounds.

Provided Methods§

Source

fn text_overflow(self, text_overflow: impl Into<TextOverflow>) -> Self

Set how text that does not fit its bounds is truncated. See TextOverflow.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§