Skip to main content

Crate boa_string

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.
RawJsString
Opaque type of a raw string pointer.
StaticJsStrings
List of commonly used strings in Javascript code.
StaticString
A static string with vtable for uniform dispatch.

Enums§

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

Traits§

JsStringSliceIndex
Similar to std::ops::RangeBounds but custom implemented for getting direct indices.

Type Aliases§

Latin1JsStringBuilder
Latin1 encoded JsStringBuilder
Utf16JsStringBuilder
UTF-16 encoded JsStringBuilder