Skip to main content

musli_web/
implicit_clone06.rs

1use implicit_clone06::ImplicitClone;
2
3use crate::web::{Channel, Handle, WebImpl};
4
5impl<H> ImplicitClone for Handle<H>
6where
7    H: WebImpl,
8{
9    #[inline]
10    fn implicit_clone(&self) -> Self {
11        self.clone()
12    }
13}
14
15impl<H> ImplicitClone for Channel<H>
16where
17    H: WebImpl,
18{
19    #[inline]
20    fn implicit_clone(&self) -> Self {
21        self.clone()
22    }
23}