Skip to main content

sidereon_core/astro/events/
mod.rs

1pub mod eclipse;
2pub mod root;
3pub mod r#trait;
4
5pub use r#trait::{
6    CrossingDirection, CrossingEvent, DiscreteEventPredicate, EventFinder, EventFinderError,
7    ExtremumEvent, ExtremumKind, ScalarEventPredicate, StateChangeEvent,
8};
9
10#[derive(Debug, Clone)]
11pub struct DetectedEvent {
12    pub epoch_tdb_seconds: f64,
13    pub name: String,
14    // Additional fields as needed
15}