pub trait ActiveDirection {
// Required method
fn layout_direction(&self) -> LayoutDirection;
// Provided method
fn is_rtl(&self) -> bool { ... }
}Expand description
Reads the active reading direction from any context that dereferences to
App, the way ActiveTheme reads the
theme.
Required Methods§
fn layout_direction(&self) -> LayoutDirection
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".