Pudu programming language
Menu
API reference

Std.Mail.render

1 declaration

fn

render: &Std.Mail.Message -> Str

This is a callable function.

What it does

What goes on the wire.

A line of the body that is a lone full stop would end the message, so every

such line gains a second stop, which the receiving end removes. That is a

property of the format rather than of the message, and a caller who has not

read the format has no reason to know it.

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.

Back to Std.MailSearch related declarations