[][src]Struct cursive::utils::span::IndexedSpanRefMut

pub struct IndexedSpanRefMut<'a, T> {
    pub content: &'a IndexedCow,
    pub attr: &'a mut T,
    pub width: usize,
}

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> Debug for IndexedSpanRefMut<'a, T> where
    T: Debug
[src]

impl<'a, T> Eq for IndexedSpanRefMut<'a, T> where
    T: Eq
[src]

impl<'a, T> Hash for IndexedSpanRefMut<'a, T> where
    T: Hash
[src]

impl<'a, T> PartialEq<IndexedSpanRefMut<'a, T>> for IndexedSpanRefMut<'a, T> where
    T: PartialEq<T>, 
[src]

impl<'a, T> StructuralEq for IndexedSpanRefMut<'a, T>[src]

impl<'a, T> StructuralPartialEq for IndexedSpanRefMut<'a, T>[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for IndexedSpanRefMut<'a, T> where
    T: RefUnwindSafe
[src]

impl<'a, T> Send for IndexedSpanRefMut<'a, T> where
    T: Send
[src]

impl<'a, T> Sync for IndexedSpanRefMut<'a, T> where
    T: Sync
[src]

impl<'a, T> Unpin for IndexedSpanRefMut<'a, T>[src]

impl<'a, T> !UnwindSafe for IndexedSpanRefMut<'a, T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash + ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> With for T[src]