Expand description
A resolved span borrowing its source string.
Fields
content: &'a str
Content of this span.
attr: &'a T
Attribute associated to this span.
width: usize
Width of the text for this span.
Trait Implementations
sourceimpl<'a, T> PartialEq<Span<'a, T>> for Span<'a, T>where
T: PartialEq<T>,
impl<'a, T> PartialEq<Span<'a, T>> for Span<'a, T>where
T: PartialEq<T>,
impl<'a, T> Eq for Span<'a, T>where
T: Eq,
impl<'a, T> StructuralEq for Span<'a, T>
impl<'a, T> StructuralPartialEq for Span<'a, T>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Span<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Span<'a, T>where
T: Sync,
impl<'a, T> Sync for Span<'a, T>where
T: Sync,
impl<'a, T> Unpin for Span<'a, T>
impl<'a, T> UnwindSafe for Span<'a, T>where
T: RefUnwindSafe,
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