Expand description
A Latin1 or UTF-16 encoded, reference counted, immutable string.
Structs§
- Common
JsString Builder - Common
JsStringbuilder 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.
- RawJs
String - Opaque type of a raw string pointer.
- Static
JsStrings - List of commonly used strings in Javascript code.
- Static
String - A static string with vtable for uniform dispatch.
Enums§
- Code
Point - Represents a Unicode codepoint within a
crate::JsString, which could be a valid ‘Unicode scalar value’, or an unpaired surrogate. - JsStr
Variant - Inner representation of a
JsStr.
Traits§
- JsString
Slice Index - Similar to
std::ops::RangeBoundsbut custom implemented for getting direct indices.
Type Aliases§
- Latin1
JsString Builder Latin1encodedJsStringBuilder- Utf16
JsString Builder UTF-16encodedJsStringBuilder