Trait View

Source
pub trait View<M: From<RadiantSceneMessage> + TryInto<RadiantSceneMessage>, N: RadiantNode> {
    // Required methods
    fn scene(&self) -> RwLockReadGuard<'_, RadiantScene<M, N>>;
    fn scene_mut(&mut self) -> RwLockWriteGuard<'_, RadiantScene<M, N>>;
}

Required Methods§

Source

fn scene(&self) -> RwLockReadGuard<'_, RadiantScene<M, N>>

Source

fn scene_mut(&mut self) -> RwLockWriteGuard<'_, RadiantScene<M, N>>

Implementors§