Skip to main content

Crate twine_observers

Crate twine_observers 

Source
Expand description

Reusable observers for the Twine framework.

This crate provides Observer implementations and capability traits that work across different solvers in the Twine ecosystem.

§Crate position in the dependency graph

twine-observers sits at the top of the stack:

twine-core  ←  twine-solvers  ←  twine-observers

This is intentional. Observers know about solvers — they implement capability traits (see traits) for the concrete event and action types that solvers expose. Solvers know nothing about observers. Removing this crate leaves twine-solvers entirely unaffected.

§Modules

§Features

  • plot — Enables PlotObserver and ShowConfig for visualizing solver behavior via egui. This feature adds dependencies on eframe and egui_plot.

Modules§

traits
Capability traits for cross-solver observers.