deref mut
This commit is contained in:
parent
0d453ed708
commit
8b7ee82387
@ -39,3 +39,10 @@ impl std::ops::Deref for AudioPlayer {
|
|||||||
&self.backend
|
&self.backend
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
impl std::ops::DerefMut for AudioPlayer {
|
||||||
|
fn deref_mut(&mut self) -> &mut Self::Target {
|
||||||
|
&mut self.backend
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user