Struct amq_protocol_codegen::UseBytesRefHelper
source · pub struct UseBytesRefHelper;
Expand description
Helper to check whether a param is passed using an &u8 or its real type
Trait Implementations§
source§impl HelperDef for UseBytesRefHelper
impl HelperDef for UseBytesRefHelper
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 UseBytesRefHelper
impl RefUnwindSafe for UseBytesRefHelper
impl Send for UseBytesRefHelper
impl Sync for UseBytesRefHelper
impl Unpin for UseBytesRefHelper
impl UnwindSafe for UseBytesRefHelper
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