[−][src]Type Definition druid::ArcStr
type ArcStr = Arc<str>;
A reference counted string slice.
This is a data-friendly way to represent strings in druid. Unlike String
it cannot be mutated, but unlike String
it can be cheaply cloned.
Trait Implementations
impl<T> From<Key<T>> for ArcStr
[src]
impl Into<Value> for ArcStr
[src]
impl TextStorage for ArcStr
[src]
pub fn add_attributes(
&self,
builder: PietTextLayoutBuilder,
env: &Env
) -> PietTextLayoutBuilder
[src]
&self,
builder: PietTextLayoutBuilder,
env: &Env
) -> PietTextLayoutBuilder