mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 13:49:36 +00:00
Implement Send
and Sync
for TTS
.
This commit is contained in:
parent
e82a10ba16
commit
f9558263ab
|
@ -50,6 +50,10 @@ trait Backend {
|
|||
|
||||
pub struct TTS(Box<Backend>);
|
||||
|
||||
unsafe impl std::marker::Send for TTS {}
|
||||
|
||||
unsafe impl std::marker::Sync for TTS {}
|
||||
|
||||
impl TTS {
|
||||
/**
|
||||
* Create a new `TTS` instance with the specified backend.
|
||||
|
|
Loading…
Reference in New Issue
Block a user