Struct amq_protocol_codegen::SanitizeNameHelper
source · pub struct SanitizeNameHelper;
Expand description
Helper to sanitize name so the it becomes a valid identifier
Trait Implementations
sourceimpl HelperDef for SanitizeNameHelper
impl HelperDef for SanitizeNameHelper
fn call<'reg: 'rc, 'rc>(
&self,
h: &Helper<'reg, 'rc>,
_: &'reg Handlebars,
_: &'rc Context,
_: &mut RenderContext<'reg>,
out: &mut dyn Output
) -> HelperResult
fn call_inner<'reg, 'rc>(
&self,
_: &Helper<'reg, 'rc>,
_: &'reg Registry,
_: &'rc Context,
_: &mut RenderContext<'reg>
) -> Result<Option<ScopedJson<'reg, 'rc>>, RenderError>where
'reg: 'rc,
Auto Trait Implementations
impl RefUnwindSafe for SanitizeNameHelper
impl Send for SanitizeNameHelper
impl Sync for SanitizeNameHelper
impl Unpin for SanitizeNameHelper
impl UnwindSafe for SanitizeNameHelper
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