Module konst::alloc_type[][src]

This is supported on crate feature alloc only.

Generic constants for types from the alloc crate, including String and Vec.

Structs

COW_SLICE_NEW

An empty Cow<'_, [T]>. Usable to construct a [Cow<'_, [T]>; N].

VEC_NEW

An empty Vec<T>. Usable to construct a [Vec<T>; N].

Constants

COW_STR_NEW

An empty Cow<'_, str>. Usable to construct a [Cow<'_, str>; N].

STRING_NEW

An empty String. Usable to construct a [String; N].