pub struct MethodHasFlagsHelper;
Expand description
Helper for checking is a method has some flags argument
Trait Implementations
sourceimpl HelperDef for MethodHasFlagsHelper
impl HelperDef for MethodHasFlagsHelper
fn call_inner<'reg: 'rc, 'rc>(
&self,
h: &Helper<'reg, 'rc>,
_: &'reg Handlebars,
_: &'rc Context,
_: &mut RenderContext<'reg>
) -> Result<Option<ScopedJson<'reg, 'rc>>, RenderError>
fn call<'reg, 'rc>(
&self,
h: &Helper<'reg, 'rc>,
r: &'reg Registry,
ctx: &'rc Context,
rc: &mut RenderContext<'reg>,
out: &mut dyn Output
) -> Result<(), RenderError>where
'reg: 'rc,
Auto Trait Implementations
impl RefUnwindSafe for MethodHasFlagsHelper
impl Send for MethodHasFlagsHelper
impl Sync for MethodHasFlagsHelper
impl Unpin for MethodHasFlagsHelper
impl UnwindSafe for MethodHasFlagsHelper
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more