Struct minimad::SubTemplateExpander [−][src]
an expander for a sub template. You get it using the sub
method
of the text expander
Implementations
impl<'s, 'b> SubTemplateExpander<'s, 'b>
[src]
pub fn set(
&mut self,
name: &'b str,
value: &'s str
) -> &mut SubTemplateExpander<'s, 'b>
[src]
&mut self,
name: &'b str,
value: &'s str
) -> &mut SubTemplateExpander<'s, 'b>
replace placeholders with name name
with the given value, not interpreted as markdown
pub fn set_md(
&mut self,
name: &'b str,
value: &'s str
) -> &mut SubTemplateExpander<'s, 'b>
[src]
&mut self,
name: &'b str,
value: &'s str
) -> &mut SubTemplateExpander<'s, 'b>
replace placeholder with name name
with the given value, interpreted as markdown
Trait Implementations
impl<'s, 'b> Debug for SubTemplateExpander<'s, 'b>
[src]
Auto Trait Implementations
impl<'s, 'b> RefUnwindSafe for SubTemplateExpander<'s, 'b>
[src]
impl<'s, 'b> Send for SubTemplateExpander<'s, 'b>
[src]
impl<'s, 'b> Sync for SubTemplateExpander<'s, 'b>
[src]
impl<'s, 'b> Unpin for SubTemplateExpander<'s, 'b>
[src]
impl<'s, 'b> UnwindSafe for SubTemplateExpander<'s, 'b>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,