[−][src]Trait druid::text::TextStorage
A type that represents text that can be displayed.
Provided methods
pub fn add_attributes(
&self,
builder: PietTextLayoutBuilder,
env: &Env
) -> PietTextLayoutBuilder
[src]
&self,
builder: PietTextLayoutBuilder,
env: &Env
) -> PietTextLayoutBuilder
If this TextStorage object manages style spans, it should implement this method and update the provided builder with its spans, as required.
Implementations on Foreign Types
impl TextStorage for String
[src]
impl TextStorage for Arc<String>
[src]
Loading content...Implementors
impl TextStorage for RichText
[src]
pub fn add_attributes(
&self,
builder: PietTextLayoutBuilder,
env: &Env
) -> PietTextLayoutBuilder
[src]
&self,
builder: PietTextLayoutBuilder,
env: &Env
) -> PietTextLayoutBuilder