1
0
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:
Nolan Darilek 2019-01-03 17:20:04 +00:00
parent e82a10ba16
commit f9558263ab

View File

@ -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.