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

pub struct Span<'a, T: 'a> {
    pub content: &'a str,
    pub attr: &'a T,
}

A resolved span borrowing its source string.

Fields

Content of this span.

Attribute associated to this span.

Trait Implementations

impl<'a, T: Debug + 'a> Debug for Span<'a, T>
[src]

Formats the value using the given formatter. Read more

impl<'a, T: Clone + 'a> Clone for Span<'a, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, T: PartialEq + 'a> PartialEq for Span<'a, T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, T: Eq + 'a> Eq for Span<'a, T>
[src]

Auto Trait Implementations

impl<'a, T> Send for Span<'a, T> where
    T: Sync

impl<'a, T> Sync for Span<'a, T> where
    T: Sync