hypen-engine 0.4.947

A Rust implementation of the Hypen engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Module and component lifecycle management.
//!
//! This module provides:
//!
//! - [`Module`] / [`ModuleInstance`] — Stateful modules with lifecycle hooks
//!   (created, destroyed) and reactive state management.
//! - [`ModuleLifecycle`] — Trait for receiving lifecycle notifications.
//! - [`ComponentLifecycle`] — Mount/unmount tracking for component instances.
//! - [`ResourceCache`] — Platform-agnostic cache for images, fonts, etc.

pub mod component;
pub mod module;
pub mod resource;

pub use component::ComponentLifecycle;
pub use module::{Module, ModuleInstance, ModuleLifecycle};
pub use resource::ResourceCache;