BoxedStr

Type Alias BoxedStr 

Source
pub type BoxedStr = Box<str>;
Expand description

Fast allocations, O(n) clones

Aliased Type§

pub struct BoxedStr(/* private fields */);

Trait Implementations§

Source§

impl HeapStr for BoxedStr

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 BoxedStr