pub struct OfdPackage<R> { /* private fields */ }Expand description
OFD 包,封装一个 ZIP 归档。
范型参数 R 为底层数据源,需实现 Read + Seek,
常见为 std::fs::File 或 std::io::Cursor。
Implementations§
Source§impl OfdPackage<File>
impl OfdPackage<File>
Source§impl<R: Read + Seek> OfdPackage<R>
impl<R: Read + Seek> OfdPackage<R>
Auto Trait Implementations§
impl<R> Freeze for OfdPackage<R>where
R: Freeze,
impl<R> RefUnwindSafe for OfdPackage<R>where
R: RefUnwindSafe,
impl<R> Send for OfdPackage<R>where
R: Send,
impl<R> Sync for OfdPackage<R>where
R: Sync,
impl<R> Unpin for OfdPackage<R>where
R: Unpin,
impl<R> UnsafeUnpin for OfdPackage<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for OfdPackage<R>where
R: UnwindSafe,
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