pub struct EncodedChunk {
pub data: Vec<u8>,
pub duration_ms: f64,
}Expand description
Result of encoding a PCM chunk.
Fields§
§data: Vec<u8>Encoded audio data.
duration_ms: f64Duration of the encoded audio in milliseconds.
Auto Trait Implementations§
impl Freeze for EncodedChunk
impl RefUnwindSafe for EncodedChunk
impl Send for EncodedChunk
impl Sync for EncodedChunk
impl Unpin for EncodedChunk
impl UnsafeUnpin for EncodedChunk
impl UnwindSafe for EncodedChunk
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