pub struct Anim {
pub rgb: Vec<f32>,
pub frames: usize,
pub height: usize,
pub width: usize,
pub audio: Vec<f32>,
pub samples: usize,
pub sample_rate: usize,
}Expand description
The rendered result: RGB in [0, 1] as [3, frames, h, w], and
stereo f32 in [-1, 1] as [2, samples].
Fields§
§rgb: Vec<f32>§frames: usize§height: usize§width: usize§audio: Vec<f32>§samples: usize§sample_rate: usizeAuto Trait Implementations§
impl Freeze for Anim
impl RefUnwindSafe for Anim
impl Send for Anim
impl Sync for Anim
impl Unpin for Anim
impl UnsafeUnpin for Anim
impl UnwindSafe for Anim
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