pub struct EncoderStream {
pub pcm_data: Vec<i16>,
pub pcm_framelength: usize,
pub frames_per_second: u32,
pub channel_count: usize,
}
Fields§
§pcm_data: Vec<i16>
§pcm_framelength: usize
The number of PCM input frames per encoded frame.
frames_per_second: u32
§channel_count: usize
Trait Implementations§
Source§impl Clone for EncoderStream
impl Clone for EncoderStream
Source§fn clone(&self) -> EncoderStream
fn clone(&self) -> EncoderStream
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 moreAuto Trait Implementations§
impl Freeze for EncoderStream
impl RefUnwindSafe for EncoderStream
impl Send for EncoderStream
impl Sync for EncoderStream
impl Unpin for EncoderStream
impl UnwindSafe for EncoderStream
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)