Work on bindings some more

This commit is contained in:
Lucy 2022-01-11 16:41:10 -05:00
parent da5c6ed172
commit 2acdb272fb
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1
11 changed files with 290 additions and 2 deletions

View file

@ -12,3 +12,9 @@ impl<'a> Deref for BluetoothDevice<'a> {
&self.0
}
}
impl<'a> From<BluetoothDeviceProxy<'a>> for BluetoothDevice<'a> {
fn from(device: BluetoothDeviceProxy<'a>) -> Self {
BluetoothDevice(device)
}
}