Hello, I am a NC state graduate student working in the Refactoring Bluetooth support project with Niveditha. We went went through the documentation on traits. We arrived at the following approach and we just want to make sure we are doing it right.
1) Create an adapter.rs file. Define a trait object using a vector. Create a structure, say DeviceType for the same. 2) Create individual structures for each component(like Android,Mac..) and implement BluetoothAdapter function in each. 3) Make changes in the servo crate to call adapter.rs Are we right in assuming that the current BluetoothAdapter function has to be broken for each component and put in the respective structure? Thank you. _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo