pub enum PandocCompat {
Latest,
V3_7,
V3_9,
}Variants§
Latest
Alias for Panache’s pinned newest supported Pandoc-compat behavior.
This is intentionally NOT “floating upstream latest”. It resolves to a concrete version that Panache has verified, and is bumped manually.
V3_7
Match Pandoc 3.7 behavior for ambiguous syntax edge cases.
V3_9
Match Pandoc 3.9 behavior for ambiguous syntax edge cases.
Implementations§
Source§impl PandocCompat
impl PandocCompat
Sourcepub const PINNED_LATEST: Self = Self::V3_9
pub const PINNED_LATEST: Self = Self::V3_9
Pinned target for latest.
pub fn effective(self) -> Self
Trait Implementations§
Source§impl Clone for PandocCompat
impl Clone for PandocCompat
Source§fn clone(&self) -> PandocCompat
fn clone(&self) -> PandocCompat
Returns a duplicate of the value. Read more
1.0.0 · 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 PandocCompat
impl Debug for PandocCompat
Source§impl Default for PandocCompat
impl Default for PandocCompat
Source§fn default() -> PandocCompat
fn default() -> PandocCompat
Returns the “default value” for a type. Read more
Source§impl PartialEq for PandocCompat
impl PartialEq for PandocCompat
impl Copy for PandocCompat
impl Eq for PandocCompat
impl StructuralPartialEq for PandocCompat
Auto Trait Implementations§
impl Freeze for PandocCompat
impl RefUnwindSafe for PandocCompat
impl Send for PandocCompat
impl Sync for PandocCompat
impl Unpin for PandocCompat
impl UnsafeUnpin for PandocCompat
impl UnwindSafe for PandocCompat
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