Crate freya_testing
source ·Modules§
Structs§
- The stable identity of a [
Node], unique within the node’s tree. - Manages the Accessibility integration.
 - RealDOM adapter for Torin.
 - Event emitted to the DOM.
 - Data of a Keyboard event.
 - Manages the application DOM.
 - Data of a Keyboard event.
 - Pressed modifier keys.
 - Data of a Mouse event.
 - Manages the navigation mode.
 NodesStatestores the nodes states given incoming events.- Manages all loaded plugins.
 - Data of a Mouse event.
 - Potential events are events that might get emitted or not.
 - Tiny wrapper over FreyaDOM to make it thread-safe if desired. This is primarily used by the Devtools and Testing renderer.
 - Provides Text measurements using Skia APIs like SkParagraph
 - Represents a
Nodein the DOM. - Configuration for
crate::test_handler::TestingHandler. - Manages the lifecycle of your tests.
 - Data of a Touch event.
 - Data of a Wheel event.
 
Enums§
- Direction for the next Accessibility Node to be focused.
 - Code is the physical position of a key.
 - Data of a DOM event.
 - Describes the force of a touch event
 - Key represents the meaning of a keypress.
 - Describes a button of a mouse controller.
 - Events emitted in Freya.
 - Event emitted to Plugins.
 - The type of device that triggered a Pointer event.
 - Describes touch-screen input state.
 
Constants§
Traits§
- Skeleton for Freya plugins.
 
Functions§
- Compose a new SkParagraph
 - Run a Component in a headless testing environment.
 - Run a Component in a headless testing environment
 - Return the equivalent Winit’s
Keyin keyboard_types - Return the equivalent of Winit’s
PhysicalKeyin keyboard_types - Measure colateral global events
 - Measure global events
 - Measure what potential event listeners could be triggered
 - Process the events and emit them to the VirtualDOM
 - Process the layout of the DOM
 - Call the render function for the nodes that should be rendered.
 
Type Aliases§
- Emit events to the VirtualDOM
 - Receive events to be emitted to the VirtualDOM
 - Queued list of events to be processed by Freya.
 - Receive updates by the platform of the focused elements
 - Send focus updates to the Accessibility provider.
 - Potential events that might be emitted.