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 DefaultMetrics
impl Send for DefaultMetrics
impl Sync for DefaultMetrics
impl Unpin for DefaultMetrics
impl UnwindSafe for DefaultMetrics
Blanket Implementations
Mutably borrows from an owned value. Read more