pub struct SpanMut<'a, T> {
pub content: &'a str,
pub attr: &'a mut T,
pub width: usize,
}
Expand description
A resolved span borrowing its source string, with mutable access to the
attribute.
Attribute associated to this span.
Width of the text for this span.
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
Calls the given closure and return the result. Read more
Calls the given closure on self
.
Calls the given closure on self
.
Calls the given closure if condition == true
.