pub enum FormatId {
Show 19 variants
PlainText,
Markdown,
Log,
SourceCode,
Json,
Yaml,
Toml,
Xml,
Csv,
Html,
Pdf,
Docx,
Odt,
Rtf,
Epub,
Xlsx,
Pptx,
External(&'static str),
Binary,
}Variants§
PlainText
Markdown
Log
SourceCode
Json
Yaml
Toml
Xml
Csv
Html
Docx
Odt
Rtf
Epub
Xlsx
Pptx
External(&'static str)
A format contributed by a plugin, identified by its name.
Binary
Not interpretable as text: shown as a hex dump.
Implementations§
Trait Implementations§
impl Copy for FormatId
impl Eq for FormatId
impl StructuralPartialEq for FormatId
Auto Trait Implementations§
impl Freeze for FormatId
impl RefUnwindSafe for FormatId
impl Send for FormatId
impl Sync for FormatId
impl Unpin for FormatId
impl UnsafeUnpin for FormatId
impl UnwindSafe for FormatId
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