ArcStr

Type Alias ArcStr 

Source
pub type ArcStr = Arc<str>;
Expand description

Cross-thread, O(1) clones

Aliased Type§

pub struct ArcStr { /* private fields */ }

Trait Implementations§

Source§

impl HeapStr for ArcStr

Source§

fn from_str(other: &str) -> Self

Source§

fn from_string(other: String) -> Self

Source§

fn from_boxed_str(other: BoxedStr) -> Self

Source§

fn as_str(&self) -> &str

Source§

impl Sealed for ArcStr