#[repr(C)]pub struct SherpaOnnxAudioEvent {
pub name: *const c_char,
pub index: i32,
pub prob: f32,
}
Fields§
§name: *const c_char
§index: i32
§prob: f32
Trait Implementations§
Source§impl Clone for SherpaOnnxAudioEvent
impl Clone for SherpaOnnxAudioEvent
Source§fn clone(&self) -> SherpaOnnxAudioEvent
fn clone(&self) -> SherpaOnnxAudioEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SherpaOnnxAudioEvent
impl Debug for SherpaOnnxAudioEvent
impl Copy for SherpaOnnxAudioEvent
Auto Trait Implementations§
impl Freeze for SherpaOnnxAudioEvent
impl RefUnwindSafe for SherpaOnnxAudioEvent
impl !Send for SherpaOnnxAudioEvent
impl !Sync for SherpaOnnxAudioEvent
impl Unpin for SherpaOnnxAudioEvent
impl UnwindSafe for SherpaOnnxAudioEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more