structstd.zon.stringify.Serializer.MultilineStringOptions[src]

Options for formatting multiline strings.

Fields

top_level: bool = false

If top level is true, whitespace before and after the multiline string is elided. If it is true, a newline is printed, then the value, followed by a newline, and if whitespace is true any necessary indentation follows.

Source Code

Source code
pub const MultilineStringOptions = struct {
    /// If top level is true, whitespace before and after the multiline string is elided.
    /// If it is true, a newline is printed, then the value, followed by a newline, and if
    /// whitespace is true any necessary indentation follows.
    top_level: bool = false,
}