i_slint_core::textlayout

Trait AbstractFont

Source
pub trait AbstractFont: TextShaper + FontMetrics<<Self as TextShaper>::Length> { }

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> AbstractFont for T
where T: TextShaper + FontMetrics<<Self as TextShaper>::Length>,