Pudu programming language
Menu
API reference

Std.Html.Build.html

3 declarations with this name

fn

html: Std.Html.Build.Node

This is a callable function.

What it does

The root element of a document.

Read the signature

  • The text after the name is the type checked by Pudu.

fn (Node)

html: &Std.Html.Build.Node -> Std.Html.Html

This declaration implements the function for one concrete type.

What it does

A node with no tag name renders as its children alone, with no element

around them. That is what words and nothing produce.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

fn (trait Building)

html: &Self -> Std.Html.Html

This declaration defines a function required by a trait.

What it does

The view this node describes.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.
  • Self means the concrete type that implements this trait.

Back to Std.Html.BuildSearch related declarations