Struct minimad::InlineTemplate
source · pub struct InlineTemplate<'a> { /* private fields */ }
Expand description
a template built from a markdown string, with optional placeholder
It can be used to build a composite and insert parts not interpreted as markdown.
The mad_inline!
macro wraps the call to the InlineTemplate
and
is more convenient for most uses.
Implementations§
source§impl<'a> InlineTemplate<'a>
impl<'a> InlineTemplate<'a>
Trait Implementations§
source§impl<'a> Debug for InlineTemplate<'a>
impl<'a> Debug for InlineTemplate<'a>
source§impl<'a> PartialEq for InlineTemplate<'a>
impl<'a> PartialEq for InlineTemplate<'a>
source§fn eq(&self, other: &InlineTemplate<'a>) -> bool
fn eq(&self, other: &InlineTemplate<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for InlineTemplate<'a>
impl<'a> StructuralPartialEq for InlineTemplate<'a>
Auto Trait Implementations§
impl<'a> Freeze for InlineTemplate<'a>
impl<'a> RefUnwindSafe for InlineTemplate<'a>
impl<'a> Send for InlineTemplate<'a>
impl<'a> Sync for InlineTemplate<'a>
impl<'a> Unpin for InlineTemplate<'a>
impl<'a> UnwindSafe for InlineTemplate<'a>
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