TextLeadingPrefixCharacterEllipsis
struct · ferroui-base · v0.5.0
struct TextLeadingPrefixCharacterEllipsis
Ellipsis based on a fixed length leading prefix and suffix growing from the end at character granularity.
Members
new
fn new(ellipsis: &str, prefix_length: i32, width: f64, text_run_properties: Rc<dyn TextRunProperties>, flow_direction: FlowDirection) -> Self
Construct a text trailing character ellipsis collapsing properties.
ellipsis— text used as collapsing symbol.prefix_length— length of leading prefix.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.
Panics when prefix_length is negative.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherTextCollapsingProperties
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.