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

pub struct SpannedTextRef<'a, C: ?Sized> where
    C: SpannedText
{ /* fields omitted */ }

A reference to another SpannedText.

Trait Implementations

impl<'a, C: ?Sized> SpannedText for SpannedTextRef<'a, C> where
    C: 'a + SpannedText
[src]

type S = C::S

Type of span returned by SpannedText::spans().

fn as_ref(&self) -> SpannedTextRef<Self>[src]

Returns a SpannedText by reference.

Auto Trait Implementations

impl<'a, C: ?Sized> Send for SpannedTextRef<'a, C> where
    C: Sync

impl<'a, C: ?Sized> Sync for SpannedTextRef<'a, C> where
    C: Sync

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T[src]