pub fn new_with_attributes(buffer: ArcStr, attributes: AttributeSpans) -> Self {
        RichText {
            buffer,
            attrs: Arc::new(attributes),
            links: Arc::new([]),
        }
    }
/// Create a new `RichText`, providing explicit attributes.
Create a new `RichText`, providing explicit attributes.
Create a new ` RichText ` providing explicit attributes .
pub fn new_with_attributes(buffer: ArcStr, attributes: AttributeSpans) -> Self {
        RichText {
            buffer,
            attrs: Arc::new(attributes),
            links: Arc::new([]),
        }
    }
pub fn new_with_attributes ( buffer : ArcStr , attributes : AttributeSpans ) -> Self { RichText { buffer , attrs : Arc :: new ( attributes ) , links : Arc :: new ( [ ] ) , } }
Create a new `RichText`, providing explicit attributes.
Create a new ` RichText ` providing explicit attributes .
buffer
ArcStr
attributes
AttributeSpans
buffer
ArcStr
attributes
AttributeSpans