Expand description
A resolved span borrowing its source string, with mutable access to the attribute.
Fields
content: &'a str
Content of this span.
attr: &'a mut T
Attribute associated to this span.
width: usize
Width of the text for this span.
Trait Implementations
sourceimpl<'a, T> PartialEq<SpanMut<'a, T>> for SpanMut<'a, T>where
T: PartialEq<T>,
impl<'a, T> PartialEq<SpanMut<'a, T>> for SpanMut<'a, T>where
T: PartialEq<T>,
impl<'a, T> Eq for SpanMut<'a, T>where
T: Eq,
impl<'a, T> StructuralEq for SpanMut<'a, T>
impl<'a, T> StructuralPartialEq for SpanMut<'a, T>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for SpanMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for SpanMut<'a, T>where
T: Send,
impl<'a, T> Sync for SpanMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for SpanMut<'a, T>
impl<'a, T> !UnwindSafe for SpanMut<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more