Struct handlebars_fluent::FluentHelper
source · pub struct FluentHelper<L> { /* private fields */ }
Implementations§
source§impl<L> FluentHelper<L>
impl<L> FluentHelper<L>
Trait Implementations§
source§impl<L: Loader + Send + Sync> HelperDef for FluentHelper<L>
impl<L: Loader + Send + Sync> HelperDef for FluentHelper<L>
source§fn call<'reg: 'rc, 'rc>(
&self,
h: &Helper<'rc>,
reg: &'reg Handlebars<'_>,
context: &'rc Context,
rcx: &mut RenderContext<'reg, 'rc>,
out: &mut dyn Output
) -> HelperResult
fn call<'reg: 'rc, 'rc>( &self, h: &Helper<'rc>, reg: &'reg Handlebars<'_>, context: &'rc Context, rcx: &mut RenderContext<'reg, 'rc>, out: &mut dyn Output ) -> HelperResult
A complex version of helper interface. Read more
source§fn call_inner<'reg, 'rc>(
&self,
_: &Helper<'rc>,
_: &'reg Registry<'reg>,
_: &'rc Context,
_: &mut RenderContext<'reg, 'rc>
) -> Result<ScopedJson<'rc>, RenderError>where
'reg: 'rc,
fn call_inner<'reg, 'rc>(
&self,
_: &Helper<'rc>,
_: &'reg Registry<'reg>,
_: &'rc Context,
_: &mut RenderContext<'reg, 'rc>
) -> Result<ScopedJson<'rc>, RenderError>where
'reg: 'rc,
A simplified api to define helper Read more
Auto Trait Implementations§
impl<L> RefUnwindSafe for FluentHelper<L>where
L: RefUnwindSafe,
impl<L> Send for FluentHelper<L>where
L: Send,
impl<L> Sync for FluentHelper<L>where
L: Sync,
impl<L> Unpin for FluentHelper<L>where
L: Unpin,
impl<L> UnwindSafe for FluentHelper<L>where
L: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more