pub enum OfficeDocumentType {
Excel,
Word,
PowerPoint,
Unknown,
}Expand description
根据文件扩展名检测Office文档类型
Variants§
Trait Implementations§
Source§impl Clone for OfficeDocumentType
impl Clone for OfficeDocumentType
Source§fn clone(&self) -> OfficeDocumentType
fn clone(&self) -> OfficeDocumentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OfficeDocumentType
impl Debug for OfficeDocumentType
Source§impl PartialEq for OfficeDocumentType
impl PartialEq for OfficeDocumentType
Source§fn eq(&self, other: &OfficeDocumentType) -> bool
fn eq(&self, other: &OfficeDocumentType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OfficeDocumentType
Auto Trait Implementations§
impl Freeze for OfficeDocumentType
impl RefUnwindSafe for OfficeDocumentType
impl Send for OfficeDocumentType
impl Sync for OfficeDocumentType
impl Unpin for OfficeDocumentType
impl UnsafeUnpin for OfficeDocumentType
impl UnwindSafe for OfficeDocumentType
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