euv-ui 0.18.2

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

/// Extension trait that exposes the hook-context factory
/// used by `App::use_i18n`.
pub trait HookContextI18nExt {
    /// Returns the `I18n` for the current hook context
    /// slot.
    ///
    /// # Returns
    ///
    /// - `I18n` - A `I18n` value.
    fn i18n() -> I18n;
}