glum/element
Types
pub type Children(msg) {
None
One(Element(msg))
Many(List(Element(msg)))
}
Constructors
-
None -
One(Element(msg)) -
Many(List(Element(msg)))
pub type Element(msg) {
Element(
tag: String,
shape: Shape,
attributes: Attributes,
on: Option(On(msg)),
children: Children(msg),
)
}
Constructors
-
Element( tag: String, shape: Shape, attributes: Attributes, on: Option(On(msg)), children: Children(msg), )