Struct ariadne::Config [−][src]
pub struct Config { /* fields omitted */ }
Expand description
A type used to configure a report
Implementations
When label lines cross one-another, should there be a gap?
The alternative to this is to insert crossing characters. However, these interact poorly with label colours.
If unspecified, this defaults to false
.
Where should inline labels attach to their spans?
If unspecified, this defaults to LabelAttach::Middle
.
Should the report remove gaps to minimise used space?
If unspecified, this defaults to false
.
Should underlines be used for label span where possible?
If unspecified, this defaults to true
.
Should arrows be used to point to the bounds of multi-line spans?
If unspecified, this defaults to true
.
Should colored output should be enabled?
If unspecified, this defaults to true
.
How many characters width should tab characters be?
If unspecified, this defaults to 4
.
What character set should be used to display dynamic elements such as boxes and arrows?
If unspecified, this defaults to CharSet::Unicode
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more