pub struct DocxFile { /* private fields */ }
Expand description
An extracted docx file
Implementations
sourceimpl DocxFile
impl DocxFile
sourcepub fn from_reader<T: Read + Seek>(reader: T) -> DocxResult<Self>
pub fn from_reader<T: Read + Seek>(reader: T) -> DocxResult<Self>
Extracts from reader
sourcepub fn from_file<P: AsRef<Path>>(path: P) -> DocxResult<Self>
pub fn from_file<P: AsRef<Path>>(path: P) -> DocxResult<Self>
Extracts from file
sourcepub fn parse<'a>(&'a self) -> DocxResult<Docx<'a>>
pub fn parse<'a>(&'a self) -> DocxResult<Docx<'a>>
Parses content into Docx
struct
Auto Trait Implementations
impl RefUnwindSafe for DocxFile
impl Send for DocxFile
impl Sync for DocxFile
impl Unpin for DocxFile
impl UnwindSafe for DocxFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more