ToDelimited
Mojo trait 🡭
ToDelimited
Aliases
__del__is_trivial =: A flag (often compiler generated) to indicate whether the implementation of__del__is trivial. The implementation of__del__is considered to be trivial if:- The struct has a compiler-generated trivial destructor and all its fields
have a trivial
__del__method.
In practice, it means that the __del__ can be considered as no-op.
Implemented traits
AnyType, UnknownDestructibility
Methods
➕ ➖write_to_delimited
fn write_to_delimited(self: _Self, mut writer: DelimWriter[W])
Write
This should probably be done with self to the passed in writer.
DelimWriter.write_record or a series of
DelimWriter.write_field calls.
Args:
- self (
_Self) - writer (
DelimWriter)
Raises:
write_header
fn write_header(self: _Self, mut writer: DelimWriter[W])
Write
This should probably be done with selfs headers to the passed in writer.
DelimWriter.write_record or a series of
DelimWriter.write_field calls.
Args:
- self (
_Self) - writer (
DelimWriter)
Raises: