pub trait DefaultTextSystemExt {
// Required method
fn as_default_text_system(&self) -> Option<&DefaultTextSystem>;
}Expand description
Affordances of the default text system that the shared TextSystem SPI does
not carry, in the same spirit as gpui_parley’s as_parley.
Required Methods§
Sourcefn as_default_text_system(&self) -> Option<&DefaultTextSystem>
fn as_default_text_system(&self) -> Option<&DefaultTextSystem>
This text system as a DefaultTextSystem, when it is one.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".