Created
January 29, 2016 08:36
-
-
Save zakorgy/f952c31395b3959ede3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub struct BluetoothGATTRemoteServer { | |
reflector_: Reflector, | |
device: JS<BluetoothDevice>, | |
connected: bool, | |
} | |
impl BluetoothGATTRemoteServer { | |
pub fn new_inherited(device: &BluetoothDevice, connected: bool) -> BluetoothGATTRemoteServer { | |
BluetoothGATTRemoteServer { | |
reflector_: Reflector::new(), | |
device: JS::from_ref(device), | |
connected: connected, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment