Crate boa_string

Source
Expand description

A Latin1 or UTF-16 encoded, reference counted, immutable string.

Structs§

CommonJsStringBuilder
Common JsString builder that accepts multiple variant of string or character.
Iter
Iterator over a JsStr.
JsStr
This is equivalent to Rust’s &str.
JsString
A Latin1 or UTF-16–encoded, reference counted, immutable string.
StaticJsString
The raw representation of a JsString from a string literal.
StaticJsStrings
List of commonly used strings in Javascript code.

Enums§

CodePoint
Represents a Unicode codepoint within a JsString, which could be a valid ‘Unicode scalar value’, or an unpaired surrogate.
JsStrVariant
Inner representation of a JsStr.

Type Aliases§

Latin1JsStringBuilder
Latin1 encoded JsStringBuilder
Utf16JsStringBuilder
UTF-16 encoded JsStringBuilder