Skip to main content

ActiveStrings

Trait ActiveStrings 

Source
pub trait ActiveStrings {
    // Required method
    fn strings(&self) -> &Strings;
}
Expand description

Reads the installed catalogue from any context that dereferences to App, mirroring ActiveTheme.

Required Methods§

Source

fn strings(&self) -> &Strings

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ActiveStrings for App

Source§

fn strings(&self) -> &Strings

Falls back to the English catalogue when no host installed one, because a component that panicked or rendered blank for want of a global would be a worse library than one with English compiled in.

Implementors§