TextCollapsingProperties
trait · ferroui-base · v0.5.0
trait TextCollapsingProperties: 'static
Properties of text collapsing.
Members
width
fn width(self: &Self) -> f64
Gets the width in which the collapsible range is constrained to.
symbol
fn symbol(self: &Self) -> &Rc<dyn TextRun>
Gets the text run that is used as collapsing symbol.
flow_direction
fn flow_direction(self: &Self) -> FlowDirection
Gets the flow direction that is used for collapsing.
collapse
fn collapse(self: &Self, text_line: &dyn TextLine) -> Option<Vec<Rc<dyn TextRun>>>
Collapses given text line. Returns the collapsed runs, or None when
the line does not have to be collapsed.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.