pub trait PlatformParagraphShape: Send + Sync {
// Required method
fn layout(&self, width: Pixels) -> Result<Arc<dyn PlatformParagraphLayout>>;
}Expand description
Immutable shaping result. Reflow must not mutate previously published layouts.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".