Skip to main content

LAEnvironmentObserver

Trait LAEnvironmentObserver 

Source
pub trait LAEnvironmentObserver:
    Send
    + Sync
    + 'static {
    // Required method
    fn state_did_change(
        &self,
        environment: &LAEnvironment,
        old_state: &LAEnvironmentState,
    );
}
Expand description

Observer callbacks for LAEnvironment state changes.

Required Methods§

Source

fn state_did_change( &self, environment: &LAEnvironment, old_state: &LAEnvironmentState, )

Invoked after environment has transitioned away from old_state.

Implementors§