pub struct Builder<T: Write> { /* fields omitted */ }
For building a writer when not
using the default
Set the string to separate new lines
defaults to "\n"
Set the string to separate new lines
defaults to "\n"
Sets the character to use to wrap strings in
the default is to just use the quotes provided
by the original text. Providing a quote character
here will result in the Writer re-writing the string.
Sets the character to use to wrap strings in
the default is to just use the quotes provided
by the original text. Providing a quote character
here will result in the Writer re-writing the string.
Sets the string to use as indentation. By default this
will be set to 4 spaces.
Sets the string to use as indentation. By default this
will be set to 4 spaces.
Finalize the writer with the destination.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static