Comment

Type Alias Comment 

Source
pub type Comment = Component<PhantomData<CommentTag>, (), String>;

Aliased Type§

pub struct Comment {
    pub tag: PhantomData<CommentTag>,
    pub attributes: (),
    pub children: String,
}

Fields§

§tag: PhantomData<CommentTag>§attributes: ()§children: String

Trait Implementations§

Source§

impl<V: Into<String>> From<V> for Comment

Source§

fn from(value: V) -> Self

Converts to this type from the input type.
Source§

impl Printable for Comment