Crate pax_runtime_api

source ·

Re-exports§

Modules§

Structs§

  • A Clap describes either a “click” (mousedown followed by mouseup), OR a “tap” with one finger (singular fingerdown event). Claps are a useful alternative to most kinds of Click or Tap events, when you want the same behavior for both to be contained in one place.
  • User clicks a mouse button over an element.
  • User right-clicks an element to open the context menu.
  • User double-clicks a mouse button over an element.
  • User is pressing a key.
  • User presses a key that displays a character (alphanumeric or symbol).
  • User has released a key.
  • Common properties in keyboard events.
  • User presses a mouse button over an element.
  • Common properties in mouse events.
  • User moves the mouse while it is over an element.
  • User moves the mouse away from an element.
  • User moves the mouse onto an element.
  • User releases a mouse button over an element.
  • Captures information about z-index during render node traversal Used for generating chassis side rendering architecture
  • Raw Percent type, which we use for serialization and dynamic traversal. At the time of authoring, this type is not used directly at runtime, but is intended for into coercion into downstream types, e.g. ColorChannel, Rotation, and Size. This allows us to be “dumb” about how we parse %, and allow the context in which it is used to pull forward a specific type through into inference.
  • Scroll occurs when a frame is translated vertically or horizontally Can be both by touch, mouse or keyboard The contained delta_x and delta_y describe the horizontal and vertical translation of the frame
  • Represents a single touch point.
  • A TouchEnd occurs when the user stops touching an element. The contained touches represent a list of touch points.
  • A TouchMove occurs when the user moves while touching an element. The contained touches represent a list of touch points.
  • A TouchStart occurs when the user touches an element. The contained touches represent a list of touch points.
  • A sugary representation of an Affine transform+, including anchor and align as layout-computed properties.
  • User scrolls the mouse wheel over an element.

Enums§

Traits§

Functions§