Std.Toml.encode
1 declaration
fn
encode: &Std.Toml.Toml -> StrThis is a callable function.
What it does
A document written as text.
Plain values are written first and tables afterwards, because a key written
after a section header belongs to that section: emitting them in the order
they happen to sit in would silently move a top-level setting inside the
section above it. That is the one mistake a writer of this format can make
that produces a valid file meaning something else.
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.
