pub enum Document {
Doc,
Docx,
Xls,
Xlsx,
Ppt,
Pptx,
Odt,
Ods,
Odp,
}Expand description
Document file formats.
Supports Microsoft Office and OpenDocument formats.
Variants§
Doc
Microsoft Word document
Docx
Microsoft Word document (Office Open XML)
Xls
Microsoft Excel spreadsheet
Xlsx
Microsoft Excel spreadsheet (Office Open XML)
Ppt
Microsoft PowerPoint presentation
Pptx
Microsoft PowerPoint presentation (Office Open XML)
Odt
OpenDocument text document
Ods
OpenDocument spreadsheet
Odp
OpenDocument presentation
Trait Implementations§
Source§impl MimeFormat for Document
impl MimeFormat for Document
impl Eq for Document
impl StructuralPartialEq for Document
Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
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