pub struct AudioCodes {
pub frames: usize,
pub levels: usize,
pub codes: Vec<u32>,
}Expand description
Tokenizer codes of one clip.
Fields§
§frames: usize25 Hz frames.
levels: usizeCodes per frame (the RVQ levels).
codes: Vec<u32>Row-major [frames][levels].
Trait Implementations§
Source§impl Clone for AudioCodes
impl Clone for AudioCodes
Auto Trait Implementations§
impl Freeze for AudioCodes
impl RefUnwindSafe for AudioCodes
impl Send for AudioCodes
impl Sync for AudioCodes
impl Unpin for AudioCodes
impl UnsafeUnpin for AudioCodes
impl UnwindSafe for AudioCodes
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