pub enum TrackChanges {
Accept,
Reject,
All,
}Expand description
How tracked changes are read (#851), Pandoc’s --track-changes.
Accept shows insertions and leaves deletions out — the text as it
stands once every change is accepted, what the DOCX and ODT readers give
without a policy. Reject shows deletions and leaves insertions out.
All keeps both as typed revisions (Revision) with their author and
date. The reader of a format a mode is not implemented for refuses it
(ConversionError::UnsupportedOption in docling) rather than answering
with another view.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TrackChanges
impl Clone for TrackChanges
impl Copy for TrackChanges
Source§impl Debug for TrackChanges
impl Debug for TrackChanges
Source§impl Default for TrackChanges
impl Default for TrackChanges
Source§impl Display for TrackChanges
impl Display for TrackChanges
impl Eq for TrackChanges
Source§impl FromStr for TrackChanges
impl FromStr for TrackChanges
Source§impl PartialEq for TrackChanges
impl PartialEq for TrackChanges
impl StructuralPartialEq for TrackChanges
Auto Trait Implementations§
impl Freeze for TrackChanges
impl RefUnwindSafe for TrackChanges
impl Send for TrackChanges
impl Sync for TrackChanges
impl Unpin for TrackChanges
impl UnsafeUnpin for TrackChanges
impl UnwindSafe for TrackChanges
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.