Std.Html.render
1 declaration
fn
render: &Std.Html.Html -> StrThis is a callable function.
What it does
A view as markup.
The only thing here that produces text. It reads nothing outside the value
it was given, so two renders of equal views are equal and a page can be
compared in a test rather than matched against a pattern.
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.
