Type Alias beef::lean::Cow

source ·
pub type Cow<'a, T> = Cow<'a, T, Lean>;
Expand description

Faster, 2-word Cow. This version is available only on 64-bit architecture, and it puts both capacity and length together in a fat pointer. Both length and capacity is limited to 32 bits.

Panics

Cow::owned will panic if capacity is larger than u32::max_size(). Use the top level beef::Cow if you wish to avoid this problem.

Aliased Type§

struct Cow<'a, T> { /* private fields */ }