Struct libsamplerate_sys::SRC_DATA
source · [−]#[repr(C)]pub struct SRC_DATA {
pub data_in: *const f32,
pub data_out: *mut f32,
pub input_frames: c_long,
pub output_frames: c_long,
pub input_frames_used: c_long,
pub output_frames_gen: c_long,
pub end_of_input: c_int,
pub src_ratio: f64,
}Fields
data_in: *const f32data_out: *mut f32input_frames: c_longoutput_frames: c_longinput_frames_used: c_longoutput_frames_gen: c_longend_of_input: c_intsrc_ratio: f64Trait Implementations
impl Copy for SRC_DATA
Auto Trait Implementations
impl RefUnwindSafe for SRC_DATA
impl !Send for SRC_DATA
impl !Sync for SRC_DATA
impl Unpin for SRC_DATA
impl UnwindSafe for SRC_DATA
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more