m3e/shape
Shape is a shape used to add emphasis and decorative flair.
This file was generated by m3e/generator
DO NOT EDIT
Types
Values
pub const default_name: option.Option(shape_name.ShapeName)
pub fn name(
arg: Shape,
name: option.Option(shape_name.ShapeName),
) -> Shape
name sets the value of name for this Shape.
pub fn new(name: option.Option(shape_name.ShapeName)) -> Shape
new creates a new Shape with the default configuration.
pub fn render(
model: Shape,
attributes: List(attribute.Attribute(msg)),
children: List(element.Element(msg)),
) -> element.Element(msg)
render creates a Lustre Element for a Shape