pub trait SpaceViewStateExt: SpaceViewState {
    // Provided methods
    fn downcast_ref<T>(&self) -> Result<&T, SpaceViewSystemExecutionError>
       where T: SpaceViewState { ... }
    fn downcast_mut<T>(
        &mut self
    ) -> Result<&mut T, SpaceViewSystemExecutionError>
       where T: SpaceViewState { ... }
}

Provided Methods§

source

fn downcast_ref<T>(&self) -> Result<&T, SpaceViewSystemExecutionError>
where T: SpaceViewState,

Downcasts this state to a reference of a concrete type.

source

fn downcast_mut<T>(&mut self) -> Result<&mut T, SpaceViewSystemExecutionError>
where T: SpaceViewState,

Downcasts this state to a mutable reference of a concrete type.

Object Safety§

This trait is not object safe.

Implementors§