Struct source_span::DefaultMetrics [−][src]
pub struct DefaultMetrics { /* fields omitted */ }Expand description
Default metrics infos.
By default, tab stop length is 8, but it can be set using DefaultMetrics::with_tab_stop.
Implementations
Create a new default metrics instance.
Tab stop length will be 8.
Create a new default metrics with a custom tab stop length.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DefaultMetricsimpl Send for DefaultMetricsimpl Sync for DefaultMetricsimpl Unpin for DefaultMetricsimpl UnwindSafe for DefaultMetricsBlanket Implementations
Mutably borrows from an owned value. Read more