bundle_bundle/
lib.rs

1use bevy::prelude::*;
2
3pub trait BundleBundleExt: Bundle + Sized {
4    fn bundle<B: Bundle>(self, b: B) -> (Self, B) {
5        (self, b)
6    }
7}
8
9impl<B: Bundle> BundleBundleExt for B {}