[][src]Struct fluent_template_helper::FluentHelperFunction

pub struct FluentHelperFunction<L> { /* fields omitted */ }

The helper type that implements handlebars::HelperDef with the handlebars feature and tera::Function with the tera feature.

Methods

impl<L> FluentHelperFunction<L>[src]

pub fn new(loader: L) -> Self[src]

Trait Implementations

impl<L: Loader + Send + Sync> Function for FluentHelperFunction<L>[src]

impl<L: Loader + Send + Sync> HelperDef for FluentHelperFunction<L>[src]

Auto Trait Implementations

impl<L> RefUnwindSafe for FluentHelperFunction<L> where
    L: RefUnwindSafe

impl<L> Send for FluentHelperFunction<L> where
    L: Send

impl<L> Sync for FluentHelperFunction<L> where
    L: Sync

impl<L> Unpin for FluentHelperFunction<L> where
    L: Unpin

impl<L> UnwindSafe for FluentHelperFunction<L> where
    L: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<F> Function for F where
    F: Fn(&HashMap<String, Value, RandomState>) -> Result<Value, Error> + Sync + Send
[src]

impl<F> HelperDef for F where
    F: Send + Sync + for<'reg, 'rc> Fn(&Helper<'reg, 'rc>, &'reg Registry, &'rc Context, &mut RenderContext<'reg>, &mut dyn Output) -> Result<(), RenderError>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,