Struct amq_protocol_codegen::UseStrRefHelper
source · pub struct UseStrRefHelper;
Expand description
Helper to check whether a param is passed using an &str or its real type
Trait Implementations§
source§impl HelperDef for UseStrRefHelper
impl HelperDef for UseStrRefHelper
source§fn call_inner<'reg: 'rc, 'rc>(
&self,
h: &Helper<'rc>,
_: &'reg Handlebars<'_>,
_: &'rc Context,
_: &mut RenderContext<'reg, 'rc>
) -> Result<ScopedJson<'rc>, RenderError>
fn call_inner<'reg: 'rc, 'rc>( &self, h: &Helper<'rc>, _: &'reg Handlebars<'_>, _: &'rc Context, _: &mut RenderContext<'reg, 'rc> ) -> Result<ScopedJson<'rc>, RenderError>
A simplified api to define helper Read more
Auto Trait Implementations§
impl Freeze for UseStrRefHelper
impl RefUnwindSafe for UseStrRefHelper
impl Send for UseStrRefHelper
impl Sync for UseStrRefHelper
impl Unpin for UseStrRefHelper
impl UnwindSafe for UseStrRefHelper
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