Trait bevy_fluent::exts::bundle::BundleExt[][src]

pub trait BundleExt<'a, T: Into<Request<'a, U>>, U: Borrow<FluentArgs<'a>>> {
    fn content(&self, request: T) -> Option<String>;
}
Expand description

Extension methods for FluentBundle

Required methods

fn content(&self, request: T) -> Option<String>[src]

Request message content

Implementations on Foreign Types

impl<'a, T, U, V> BundleExt<'a, T, U> for FluentBundle<V, IntlLangMemoizer> where
    T: Into<Request<'a, U>>,
    U: Borrow<FluentArgs<'a>>,
    V: Borrow<FluentResource>, 
[src]

fn content(&self, request: T) -> Option<String>[src]

Implementors

impl<'a, T, U> BundleExt<'a, T, U> for Localization where
    T: Copy + Into<Request<'a, U>>,
    U: Borrow<FluentArgs<'a>>, 
[src]

fn content(&self, request: T) -> Option<String>[src]