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:
parent
184becfd1a
commit
ad67682235
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user