[][src]Trait fluent_template_helper::loader::Loader

pub trait Loader {
    fn lookup(
        &self,
        lang: &str,
        text_id: &str,
        args: Option<&HashMap<&str, FluentValue>>
    ) -> String; }

Something capable of looking up Fluent keys fiven a language

Use SimpleLoader if you just need the basics

Required methods

fn lookup(
    &self,
    lang: &str,
    text_id: &str,
    args: Option<&HashMap<&str, FluentValue>>
) -> String

Loading content...

Implementors

impl Loader for SimpleLoader[src]

Loading content...