[][src]Type Definition beef::lean::Cow

type Cow<'a, T> = Cow<'a, T, Lean>;

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.