Trait i_slint_core::textlayout::FontMetrics
source · pub trait FontMetrics<Length: Copy + Sub<Output = Length>> {
// Required methods
fn ascent(&self) -> Length;
fn descent(&self) -> Length;
// Provided method
fn height(&self) -> Length { ... }
}