Expand description

Examples showing the output of using aliri_braid to generate strongly-typed wrappers around string values.

Three types of braids are demonstrated:

In addition, the minimal module demonstrates the minimal string implementation that can be wrapped inside a braid type.

Modules

An example of constructing a basic strongly-typed wrapper around a Bytes-backed value.

An example of constructing a basic strongly-typed wrapper around a custom string-like type.

An example of constructing a strongly-typed wrapper around a normalized string value.

An example of constructing a basic ref-only strongly-typed wrapper around a string slice.

An example of constructing a strongly-typed wrapper around a string with small-string optimization.

An example of constructing a strongly-typed wrapper around a validated string value.

An example of constructing a basic strongly-typed wrapper around a string value.