Type Alias kstring::backend::BoxedStr

source ·
pub type BoxedStr = Box<str>;
Expand description

Fast allocations, O(n) clones

Aliased Type§

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