#[repr(C)]pub struct SherpaOnnxWave {
pub samples: *const f32,
pub sample_rate: i32,
pub num_samples: i32,
}
Fields§
§samples: *const f32
§sample_rate: i32
§num_samples: i32
Trait Implementations§
Source§impl Clone for SherpaOnnxWave
impl Clone for SherpaOnnxWave
Source§fn clone(&self) -> SherpaOnnxWave
fn clone(&self) -> SherpaOnnxWave
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 SherpaOnnxWave
impl Debug for SherpaOnnxWave
impl Copy for SherpaOnnxWave
Auto Trait Implementations§
impl Freeze for SherpaOnnxWave
impl RefUnwindSafe for SherpaOnnxWave
impl !Send for SherpaOnnxWave
impl !Sync for SherpaOnnxWave
impl Unpin for SherpaOnnxWave
impl UnwindSafe for SherpaOnnxWave
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