BlockImpl
trait · ferroui-controls · v0.5.0
trait BlockImpl: TextElementImpl + $crate::Upcast<Block>
The overridable members introduced by the class.
Members
text
fn text(this: &Self) -> String
Returns the text of this block, without a following paragraph separator.
build_text_runs
fn build_text_runs(this: &Self, text_runs: &mut Vec<Rc<dyn TextRun>>)
Appends formatter runs in content order.
measure_embedded_controls
fn measure_embedded_controls(this: &Self, available_size: Size) -> bool
Measures inline controls and reports whether a size changed.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.