pub struct SpeechSynthesisResult {
pub handle: SmartHandle<SPXRESULTHANDLE>,
pub result_id: String,
pub reason: ResultReason,
pub audio_data: Vec<u8>,
pub audio_duration_ms: u64,
pub properties: PropertyCollection,
}
Expand description
Represents speech synthetis result contained in SpeechSynthesisEvent callback event.
Fields
handle: SmartHandle<SPXRESULTHANDLE>
result_id: String
reason: ResultReason
audio_data: Vec<u8>
audio_duration_ms: u64
properties: PropertyCollection
Implementations
sourceimpl SpeechSynthesisResult
impl SpeechSynthesisResult
pub fn from_handle(handle: SPXRESULTHANDLE) -> Result<Self>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpeechSynthesisResult
impl Send for SpeechSynthesisResult
impl !Sync for SpeechSynthesisResult
impl Unpin for SpeechSynthesisResult
impl UnwindSafe for SpeechSynthesisResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more