Skip to main content

DefaultTextSystemExt

Trait DefaultTextSystemExt 

Source
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§

Source

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".

Implementations on Foreign Types§

Source§

impl DefaultTextSystemExt for dyn TextSystem + '_

Implementors§