Structsยง
- Bytes
View - DOMString
- String
View - A reference to a Rust
strof UTF-8 encoded bytes, used to get a Rust string from aDOMString. - TracedDOM
String - This type corresponds to the
DOMStringtype in WebIDL.
Enumsยง
- DOMString
Error Type - DOMString
Type ๐ - Encoded
Bytes - A type representing the underlying encoded bytes of a
DOMString.
Constantsยง
- ASCII_
CAPITAL_ ๐A - ASCII_
CAPITAL_ ๐Z - ASCII_
CR ๐ - ASCII_
END ๐ - ASCII_
FORMFEED ๐ - ASCII_
LOWERCASE_ ๐A - ASCII_
LOWERCASE_ ๐Z - ASCII_
NEWLINE ๐ - ASCII_
SPACE ๐ - ASCII_
TAB ๐
Functionsยง
- get_
latin1_ ๐ โstring_ bytes - Return the Latin1 string bytes of the given
JSString. As a garbage collection can collect this string, it must be later bound to the lifetime of a providedNoGCparameter. This function will never GC. - is_
valid_ floating_ point_ number_ string - https://html.spec.whatwg.org/multipage/#valid-floating-point-number TODO(#39315): Use the validation rule from Stylo
- parse_
floating_ point_ number - https://html.spec.whatwg.org/multipage/#rules-for-parsing-floating-point-number-values