pub enum InputFormat {
Html,
Markdown,
}Expand description
Input format for document conversion.
Variants§
Html
Available on crate feature
html only.HTML (paragraph-only; <p> elements and text within them only).
Available when the html feature is enabled.
Markdown
Available on crate feature
markdown only.Markdown (CommonMark + GFM). Available when the markdown feature is enabled.
Trait Implementations§
Source§impl Clone for InputFormat
impl Clone for InputFormat
Source§fn clone(&self) -> InputFormat
fn clone(&self) -> InputFormat
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 moreimpl Copy for InputFormat
Source§impl Debug for InputFormat
impl Debug for InputFormat
impl Eq for InputFormat
Source§impl Hash for InputFormat
impl Hash for InputFormat
Source§impl PartialEq for InputFormat
impl PartialEq for InputFormat
Source§fn eq(&self, other: &InputFormat) -> bool
fn eq(&self, other: &InputFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputFormat
Auto Trait Implementations§
impl Freeze for InputFormat
impl RefUnwindSafe for InputFormat
impl Send for InputFormat
impl Sync for InputFormat
impl Unpin for InputFormat
impl UnsafeUnpin for InputFormat
impl UnwindSafe for InputFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.