Module freya_testing::prelude
source · Re-exports§
pub use crate::config::*;
pub use crate::launch::*;
pub use crate::test_handler::*;
pub use crate::test_node::*;
pub use crate::test_utils::*;
Modules§
Structs§
- The stable identity of a [
Node
], unique within the node’s tree. - Manages the Accessibility integration.
- Canvas Reference
- Cursor reference
- RealDOM adapter for Torin.
- Event emitted to the DOM.
- Manages the application DOM.
- Image Reference
- State consumed by components and updated by the platform.
- Node Reference
NodesState
stores the nodes states given incoming events.- Information about the platform.
- Manages all loaded plugins.
- 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
Enums§
- Direction for the next Accessibility Node to be focused.
- Group all the custom attribute types
- Data of a DOM event.
- Events emitted in Freya.
- Event emitted to Plugins.
Constants§
Traits§
- Skeleton for Freya plugins.
Functions§
- Align the Y axis of the highlights and cursor of a paragraph
- Align the main alignment of a paragraph
- Compose a new SkParagraph
- Transform some dynamic bytes (e.g: remote image fetched at runtime) into an attribute
- Measure colateral global events
- Measure global events
- Merasure the cursor positio and text selection and notify the subscribed component of the element.
- 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.
- Transform some static bytes (e.g: statically linked images or SVGs) into an attribute
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
- Send platform updates from the platform
- Potential events that might be emitted.