pite-core 0.1.0

Node tree, handles, props and lifecycle dispatch for Pite.
Documentation
// SPDX-License-Identifier: MIT OR Apache-2.0
//! Core scene-graph primitives: node handles, the node tree, props, the node type
//! registry and lifecycle dispatch.
//!
//! Knows nothing about Python (`pite-script`), rendering (`pite-render`) or the
//! scene file format (`pite-scene`). Those plug in through the traits re-exported
//! here, which is where the crate boundaries are drawn.

#![forbid(unsafe_code)]

mod error;
mod lifecycle;
mod math;
mod node;
mod props;
mod registry;
mod signals;
mod tree;

pub use error::{CoreError, Result};
pub use lifecycle::LifecycleSink;
pub use math::{global_position, Vec2};
pub use node::{Node, NodeDesc, NodeId, ScriptRef};
pub use props::{PropValue, Props};
pub use registry::{NodeFactory, NodeTypeRegistry};
pub use signals::{SignalDef, SignalRegistry};
pub use tree::NodeTree;