1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 12:49:38 +00:00

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

View File

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