pub enum SaveMode {
Full,
Incremental,
}Expand description
How a document is written back out.
Variants§
Full
Rewrite the whole file, dropping anything nothing points at.
Incremental
Append the changes after the original bytes, leaving them untouched.
Downgraded to SaveMode::Full when the document’s cross-reference
was rebuilt or its security key changed; see the module docs.
Trait Implementations§
impl Copy for SaveMode
impl Eq for SaveMode
impl StructuralPartialEq for SaveMode
Auto Trait Implementations§
impl Freeze for SaveMode
impl RefUnwindSafe for SaveMode
impl Send for SaveMode
impl Sync for SaveMode
impl Unpin for SaveMode
impl UnsafeUnpin for SaveMode
impl UnwindSafe for SaveMode
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