Crate script_traits

source ·
Expand description

This module contains traits in script used generically in the rest of Servo. The traits are here instead of in script so that these modules won’t have to depend on script.

Modules

  • Defines data structures which are consumed by the Compositor.
  • script_msg 🔒
  • This module contains implementations in script that are serializable, as per https://html.spec.whatwg.org/multipage/#serializable-objects. The implementations are here instead of in script so that the other modules involved in the serialization don’t have to depend on script.
  • This module contains implementations in script that are transferable. The implementations are here instead of in script so that the other modules involved in the transfer don’t have to depend on script.

Structs

Enums

Traits

Functions

  • Returns the duration since an unspecified epoch measured in ms.

Type Aliases