pub struct Audio {
pub file: PathBuf,
pub offset: f64,
}Expand description
Soundtrack to mux into the video.
Fields§
§file: PathBufAudio file in any format ffmpeg reads.
offset: f64Seconds; positive delays the audio, negative skips into it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Audio
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnsafeUnpin for Audio
impl UnwindSafe for Audio
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