pub enum DocumentFormat {
Plain,
Djot,
Markdown,
Html,
Latex,
Typst,
}Expand description
Document output format.
This governs the render target for citation strings and the generated
bibliography. It is independent of the document input format (Djot,
Markdown) and of in-field reference markup (Djot inline via
render_djot_inline).
Variants§
Plain
Plain text (raw markup).
Djot
Djot markup.
Markdown
Markdown markup.
Html
HTML output.
Latex
LaTeX output.
Typst
Typst output.
Trait Implementations§
Source§impl Clone for DocumentFormat
impl Clone for DocumentFormat
Source§fn clone(&self) -> DocumentFormat
fn clone(&self) -> DocumentFormat
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 DocumentFormat
Source§impl Debug for DocumentFormat
impl Debug for DocumentFormat
impl Eq for DocumentFormat
Source§impl PartialEq for DocumentFormat
impl PartialEq for DocumentFormat
Source§fn eq(&self, other: &DocumentFormat) -> bool
fn eq(&self, other: &DocumentFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentFormat
Auto Trait Implementations§
impl Freeze for DocumentFormat
impl RefUnwindSafe for DocumentFormat
impl Send for DocumentFormat
impl Sync for DocumentFormat
impl Unpin for DocumentFormat
impl UnsafeUnpin for DocumentFormat
impl UnwindSafe for DocumentFormat
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.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.