Struct rstml_component::For
source · pub struct For<I, F>{
pub items: I,
pub children: F,
}
Fields§
§items: I
§children: F
Trait Implementations§
source§impl<I, F> HtmlComponent for For<I, F>
impl<I, F> HtmlComponent for For<I, F>
source§impl<I, F> HtmlContent for For<I, F>
impl<I, F> HtmlContent for For<I, F>
source§fn fmt(self, formatter: &mut HtmlFormatter<'_>) -> Result
fn fmt(self, formatter: &mut HtmlFormatter<'_>) -> Result
Formats the content and writes it to the provided HtmlFormatter. Read more
source§fn write_to(self, buffer: &mut BytesMut) -> Result
fn write_to(self, buffer: &mut BytesMut) -> Result
Writes the formatted content to the provided byte buffer. Read more
Auto Trait Implementations§
impl<I, F> Freeze for For<I, F>
impl<I, F> RefUnwindSafe for For<I, F>where
I: RefUnwindSafe,
F: RefUnwindSafe,
impl<I, F> Send for For<I, F>
impl<I, F> Sync for For<I, F>
impl<I, F> Unpin for For<I, F>
impl<I, F> UnwindSafe for For<I, F>where
I: UnwindSafe,
F: UnwindSafe,
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