Impl Default for a few structs

This commit is contained in:
Jamen Marz
2021-09-21 11:25:54 -06:00
committed by Sébastien Crozet
parent 936f655c67
commit 7aa94e994f
15 changed files with 60 additions and 6 deletions

View File

@@ -33,6 +33,12 @@ fn check_pipeline_send_sync() {
do_test::<CollisionPipeline>();
}
impl Default for CollisionPipeline {
fn default() -> Self {
Self::new()
}
}
impl CollisionPipeline {
/// Initializes a new physics pipeline.
pub fn new() -> CollisionPipeline {