Struct cursive::utils::span::IndexedSpanRefMut [−][src]
pub struct IndexedSpanRefMut<'a, T> {
pub content: &'a IndexedCow,
pub attr: &'a mut T,
pub width: usize,
}
Expand description
A reference to an IndexedSpan allowing modification of the attribute.
Fields
content: &'a IndexedCow
Points to the content of the span.
attr: &'a mut T
Mutable reference to the attribute of the span.
width: usize
Width of the span.
Trait Implementations
impl<'a, T> PartialEq<IndexedSpanRefMut<'a, T>> for IndexedSpanRefMut<'a, T> where
T: PartialEq<T>,
impl<'a, T> PartialEq<IndexedSpanRefMut<'a, T>> for IndexedSpanRefMut<'a, T> where
T: PartialEq<T>,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.