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