pub struct TemplateGroup(pub Vec<Template>);
Expand description
Represents a group of rust_html templates
Use this wrapper if you need to insert a
Vec<Template>
into another template.
Tuple Fields§
§0: Vec<Template>
Trait Implementations§
Source§impl Clone for TemplateGroup
impl Clone for TemplateGroup
Source§fn clone(&self) -> TemplateGroup
fn clone(&self) -> TemplateGroup
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TemplateGroup
impl Debug for TemplateGroup
Source§impl<I> From<I> for TemplateGroupwhere
I: IntoIterator<Item = Template>,
impl<I> From<I> for TemplateGroupwhere
I: IntoIterator<Item = Template>,
Source§impl FromIterator<Template> for TemplateGroup
impl FromIterator<Template> for TemplateGroup
Source§impl PartialEq for TemplateGroup
impl PartialEq for TemplateGroup
impl Eq for TemplateGroup
impl StructuralPartialEq for TemplateGroup
Auto Trait Implementations§
impl Freeze for TemplateGroup
impl RefUnwindSafe for TemplateGroup
impl Send for TemplateGroup
impl Sync for TemplateGroup
impl Unpin for TemplateGroup
impl UnwindSafe for TemplateGroup
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