[][src]Crate concat_in_place

Provides efficient concatenation of strings and vectors

The goal of these macros are to reduce the amount of allocations that are required when concatenating string buffers and vectors; with a macro that makes it simple to achieve in practice.

Implementation Notes

  • The caller must provide a buffer for appending the slices to
  • The buffer is resized to accomodate the total length of all slices given

Macros

strcat

Appends any number of string slices onto a string buffer

veccat

Appends any number of slices onto a vector