Enum somedoc::write::OutputFormat [−][src]
pub enum OutputFormat { Markdown(MarkdownFlavor), Html, Json, Latex, }
Expand description
This indicates the output format to use when writing a document.
Variants
Markdown(MarkdownFlavor)
Expand description
One of the supported flavors of Markdown, see markdown::MarkdownFlavor
.
Expand description
Generic HTML, supports math via MathJax and code syntax via hightlight.js.
Expand description
A direct representation of the model in JSON for external tool integration.
Expand description
Pretty generic LaTeX support, includes a number of packages for support of listings, block quotes, images, etc.
Trait Implementations
impl Clone for OutputFormat
[src]
impl Clone for OutputFormat
[src]fn clone(&self) -> OutputFormat
[src]
fn clone(&self) -> OutputFormat
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for OutputFormat
[src]
impl Debug for OutputFormat
[src]impl Default for OutputFormat
[src]
impl Default for OutputFormat
[src]impl Display for OutputFormat
[src]
impl Display for OutputFormat
[src]impl FromStr for OutputFormat
[src]
impl FromStr for OutputFormat
[src]impl Into<OutputFormat> for MarkdownFlavor
[src]
impl Into<OutputFormat> for MarkdownFlavor
[src]fn into(self) -> OutputFormat
[src]
fn into(self) -> OutputFormat
[src]Performs the conversion.
impl PartialEq<OutputFormat> for OutputFormat
[src]
impl PartialEq<OutputFormat> for OutputFormat
[src]fn eq(&self, other: &OutputFormat) -> bool
[src]
fn eq(&self, other: &OutputFormat) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &OutputFormat) -> bool
[src]
fn ne(&self, other: &OutputFormat) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for OutputFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for OutputFormat
impl Send for OutputFormat
impl Sync for OutputFormat
impl Unpin for OutputFormat
impl UnwindSafe for OutputFormat
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more