[][src]Trait nyx_space::propagators::events::Event

pub trait Event: Debug {
    type StateType: Copy;
    fn eval_crossing(
        &self,
        prev_state: &Self::StateType,
        next_state: &Self::StateType
    ) -> bool;
fn eval(&self, state: &Self::StateType) -> f64; }

A general Event

Associated Types

type StateType: Copy

Defines the type which will be accepted by the condition

Loading content...

Required methods

fn eval_crossing(
    &self,
    prev_state: &Self::StateType,
    next_state: &Self::StateType
) -> bool

fn eval(&self, state: &Self::StateType) -> f64

Loading content...

Implementors

impl<'a> Event for OrbitalEvent<'a>[src]

type StateType = State

impl<'a> Event for SCEvent<'a>[src]

type StateType = SpacecraftState

Loading content...