pub fn simple(content: &str, attr: T) -> Self {
        IndexedSpan {
            content: IndexedCow::Borrowed {
                start: 0,
                end: content.len(),
            },
            attr,
        }
    }
/// Returns a single span around the entire text.
Returns a single span around the entire text.
Returns a single span around the entire text .
pub fn simple(content: &str, attr: T) -> Self {
        IndexedSpan {
            content: IndexedCow::Borrowed {
                start: 0,
                end: content.len(),
            },
            attr,
        }
    }
pub fn simple ( content : & str , attr : T ) -> Self { IndexedSpan { content : IndexedCow :: Borrowed { start : 0 , end : content . len ( ) , } , attr , } }
Returns a single span around the entire text.
Returns a single span around the entire text .
content
&str
attr
T
content
&str
attr
T