Trait rerun::external::re_viewer_context::SpaceViewStateExt
source · 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§
sourcefn downcast_ref<T>(&self) -> Result<&T, SpaceViewSystemExecutionError>where
T: SpaceViewState,
fn downcast_ref<T>(&self) -> Result<&T, SpaceViewSystemExecutionError>where
T: SpaceViewState,
Downcasts this state to a reference of a concrete type.
sourcefn downcast_mut<T>(&mut self) -> Result<&mut T, SpaceViewSystemExecutionError>where
T: SpaceViewState,
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.