pub fn physics_dispatcher<'a, 'b, N, P>() -> Dispatcher<'a, 'b>
where
    N: RealField,
    P: Position<N>,
{
    let mut dispatcher_builder = DispatcherBuilder::new();
    register_physics_systems::<N, P>(&mut dispatcher_builder);

    dispatcher_builder.build()
}
/// Convenience function for configuring and building a `Dispatcher` with all
/// required physics related `System`s.
///
/// # Examples
/// ```
/// use specs_physics::bodies::util::SimplePosition;
/// let dispatcher = specs_physics::physics_dispatcher::<f32, SimplePosition<f32>>();
/// ```
Convenience function for configuring and building a `Dispatcher` with all
required physics related `System`s.
Convenience function for configuring and building a ` Dispatcher ` with all required physics related ` System ` s .
pub fn physics_dispatcher<'a, 'b, N, P>() -> Dispatcher<'a, 'b>
where
    N: RealField,
    P: Position<N>,
{
    let mut dispatcher_builder = DispatcherBuilder::new();
    register_physics_systems::<N, P>(&mut dispatcher_builder);
    dispatcher_builder.build()
}
pub fn physics_dispatcher < ' a , ' b , N , P > ( ) -> Dispatcher < ' a , ' b > where N : RealField , P : Position < N > , { let mut dispatcher_builder = DispatcherBuilder :: new ( ) ; register_physics_systems :: < N , P > ( & mut dispatcher_builder ) ; dispatcher_builder . build ( ) }
Convenience function for configuring and building a `Dispatcher` with all
required physics related `System`s.
Convenience function for configuring and building a ` Dispatcher ` with all required physics related ` System ` s .
examples
```
use specs_physics::bodies::util::SimplePosition;
let dispatcher = specs_physics::physics_dispatcher::>();
```
` ` ` use specs_physics :: bodies :: util :: SimplePosition ; let dispatcher = specs_physics :: physics_dispatcher :: > () ; ` ` `