Add clone implementation.

This commit is contained in:
yukirij 2024-08-07 12:36:13 -07:00
parent 96bdc0cfe2
commit 6aa8f4ac88

View File

@ -241,3 +241,8 @@ impl<T: 'static + Clone + Send> Bus<T> {
self.id
}
}
impl<T: 'static + Clone + Send> Clone for Bus<T> {
fn clone(&self) -> Self {
self.connect().unwrap()
}
}