RcStr

Type Alias RcStr 

Source
pub type RcStr = Rc<str>;
Expand description

O(1) clones

Aliased Type§

pub struct RcStr { /* private fields */ }

Trait Implementations§

Source§

impl HeapStr for RcStr

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 RcStr