pub struct OoxmlPackage<R: Read + Seek> { /* private fields */ }Implementations§
Source§impl<R: Read + Seek> OoxmlPackage<R>
impl<R: Read + Seek> OoxmlPackage<R>
pub fn new(reader: R) -> Result<Self>
pub fn with_limits(reader: R, limits: OoxmlLimits) -> Result<Self>
pub fn with_entry<T>( &mut self, path: &str, read_entry: impl FnOnce(&mut dyn Read) -> Result<T>, ) -> Result<T>
pub fn with_entry_limits<T>( &mut self, path: &str, limits: OoxmlLimits, read_entry: impl FnOnce(&mut dyn Read) -> Result<T>, ) -> Result<T>
pub fn read_to_string(&mut self, path: &str) -> Result<String>
pub fn contains(&mut self, path: &str) -> bool
pub fn contains_any(&mut self, paths: &[&str]) -> bool
pub fn part_names(&mut self) -> Vec<String>
Auto Trait Implementations§
impl<R> Freeze for OoxmlPackage<R>where
R: Freeze,
impl<R> RefUnwindSafe for OoxmlPackage<R>where
R: RefUnwindSafe,
impl<R> Send for OoxmlPackage<R>where
R: Send,
impl<R> Sync for OoxmlPackage<R>where
R: Sync,
impl<R> Unpin for OoxmlPackage<R>where
R: Unpin,
impl<R> UnsafeUnpin for OoxmlPackage<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for OoxmlPackage<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