Crate constellation_traits

Source
Expand description

The interface to the Constellation, which prevents other crates from depending directly on the constellation crate itself. In addition to all messages to the Constellation, this crate is responsible for defining types that cross the process boundary from the embedding/rendering layer all the way to script, thus it should have very minimal dependencies on other parts of Servo.

Structs§

  • Specifies if rAF should be triggered and/or CSS Animations and Transitions.
  • The result of a hit test in the compositor.
  • The scroll state of a stacking context.
  • The address of a node. Layout sends these back. They must be validated via from_untrusted_node_address before they can be used, because we do not trust layout.
  • Data about the window size.

Enums§

  • Messages to the constellation.
  • A log entry reported to the constellation We don’t report all log entries, just serious ones. We need a separate type for this because LogLevel isn’t serializable.
  • A description of a paint metric that is sent from the Servo renderer to the constellation.
  • The direction of a history traversal
  • The type of window size change.