Trait Render

Source
pub trait Render {
    // Required method
    fn render(&self) -> String;
}
Expand description

Trait for rendering something to a string

Required Methods§

Source

fn render(&self) -> String

Rendering a structure into a string

Implementors§

Source§

impl Render for VComponent<'_>

Source§

impl Render for VContent<'_>

Source§

impl<T: Display> Render for T

Source§

impl<const CHLD: usize> Render for &VBody<'_, CHLD>

Source§

impl<const CHLD: usize> Render for VBody<'_, CHLD>

Source§

impl<const CHLD: usize, const ATTR: usize> Render for VElement<'_, CHLD, ATTR>