Skip to main content

Crate pax_engine

Crate pax_engine 

Source

Re-exports§

pub extern crate pax_macro;

Re-exports§

pub use log;
pub use pax_language;
pub use pax_manifest;
pub use pax_message;
pub use pax_runtime;
pub use pax_runtime::api::serde;

Modules§

api
math
node_layout
rendering

Macros§

init
Prepare a separately linked UI library. With no arguments, select this package’s library or its package.metadata.pax.cartridge selection; init!(my_ui) selects an explicit dependency. Initializes the selected root in the current native process. run() enters its platform application loop. Neither operation parses application arguments or starts build tools or development servers, including with designtime. Use init_with! to provide explicit startup options.
init_with
Prepare a UI with InitOptions: init_with!(options) or init_with!(my_ui, options) for a separate UI dependency. Always initializes in the current native process; never parses development arguments or starts a workstation build/server.
pax_struct
runnable
Declares a Pax UI that can be launched as an application or embedded in a host, using the selected root component and optional initializer.

Structs§

ContainerFrame
Parent-local frame assigned by a container to one of its received children.
LocalProperty
An owner-thread value or computation in Pax’s reactive graph.
NodeInterface
Runtime inspection handle for an expanded node.
NodeLocal
Marker coordinate space for a node’s local layout space.
Property
Thread-safe application state with snapshot reads and atomic publication.
Slot
Contains the index value for slot, either a literal or an expression.

Enums§

PaxValue
Runtime container for polymorphic values, for evaluating PAXEL.

Traits§

CoercionRules
Attempts to coerce a dynamic PaxValue into a concrete Rust type.
Container
Trait for nodes that semantically interpret child content.
ToPaxValue
Converts a Rust value into its built-in PaxValue representation.

Attribute Macros§

helpers
Registers public associated functions in an impl block as PAXEL helpers.
pax