pub struct VFile {
pub path_url: String,
}Expand description
Represents an input file with a URL, which provide video stream.
Fields§
§path_url: StringThe URL of the file.
Implementations§
Trait Implementations§
Source§impl AVFile for VFile
impl AVFile for VFile
Source§fn c_path_url(&self) -> Result<CString>
fn c_path_url(&self) -> Result<CString>
The c-style file url.
Source§fn ifmt_ctx(&self) -> Result<AVFormatContextInput>
fn ifmt_ctx(&self) -> Result<AVFormatContextInput>
Open the file as format context input.
Source§fn ofmt_ctx(&self) -> Result<AVFormatContextOutput>
fn ofmt_ctx(&self) -> Result<AVFormatContextOutput>
Open the file as format context output.
impl Eq for VFile
impl StructuralPartialEq for VFile
Auto Trait Implementations§
impl Freeze for VFile
impl RefUnwindSafe for VFile
impl Send for VFile
impl Sync for VFile
impl Unpin for VFile
impl UnsafeUnpin for VFile
impl UnwindSafe for VFile
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