pub struct LocalFileSource { /* private fields */ }Expand description
本地文件,按需 seek 读取,不整体载入内存。
这是播放大视频的默认来源:内存占用与文件大小无关。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for LocalFileSource
impl Freeze for LocalFileSource
impl RefUnwindSafe for LocalFileSource
impl Send for LocalFileSource
impl Sync for LocalFileSource
impl Unpin for LocalFileSource
impl UnsafeUnpin for LocalFileSource
impl UnwindSafe for LocalFileSource
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