Implement Send and Sync for UtteranceId on most platforms.

This commit is contained in:
Nolan Darilek 2020-12-03 13:21:24 -06:00
parent 184becfd1a
commit ad67682235
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ pub enum UtteranceId {
AvFoundation(id), AvFoundation(id),
} }
unsafe impl Send for UtteranceId {}
unsafe impl Sync for UtteranceId {}
pub struct Features { pub struct Features {
pub stop: bool, pub stop: bool,
pub rate: bool, pub rate: bool,