m3e/shape

shape provides Lustre support for the M3E Shape component

Types

Shape provides Lustre support for the M3E Shape component

Fields:

  • name: The name of the shape
pub opaque type Shape

Values

pub fn name(arg: Shape, name: String) -> Shape

name sets the name field

pub fn new(name: String) -> Shape

new creates a new Shape

pub fn render(
  s: Shape,
  attributes: List(attribute.Attribute(msg)),
) -> element.Element(msg)

render creates a Lustre Element(msg) from a Shape

Search Document