[−][src]Trait nphysics_testbed3d::WorldOwner
This trait is designed to allow choosing implementation of underlying storing of World: shared between threads or with a single owner.
Required methods
fn get<'a: 'b, 'b>(&'a self) -> Box<dyn Deref<Target = World<f32>> + 'b>
fn get_mut<'a: 'b, 'b>(
&'a mut self
) -> Box<dyn DerefMut<Target = World<f32>> + 'b>
&'a mut self
) -> Box<dyn DerefMut<Target = World<f32>> + 'b>
Implementations on Foreign Types
impl WorldOwner for World<f32>
[src]
fn get<'a: 'b, 'b>(&'a self) -> Box<dyn Deref<Target = World<f32>> + 'b>
[src]
fn get_mut<'a: 'b, 'b>(
&'a mut self
) -> Box<dyn DerefMut<Target = World<f32>> + 'b>
[src]
&'a mut self
) -> Box<dyn DerefMut<Target = World<f32>> + 'b>
impl WorldOwner for Arc<RwLock<World<f32>>>
[src]
fn get<'a: 'b, 'b>(&'a self) -> Box<dyn Deref<Target = World<f32>> + 'b>
[src]
fn get_mut<'a: 'b, 'b>(
&'a mut self
) -> Box<dyn DerefMut<Target = World<f32>> + 'b>
[src]
&'a mut self
) -> Box<dyn DerefMut<Target = World<f32>> + 'b>