Skip to main content

Module domstring

Module domstring 

Source

Structs§

BytesView
DOMString
StringView
A reference to a Rust str of UTF-8 encoded bytes, used to get a Rust string from a DOMString.
TracedDOMString
This type corresponds to the DOMString type in WebIDL.

Enums§

DOMStringErrorType
EncodedBytes
A type representing the underlying encoded bytes of a DOMString.

Functions§

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