pub struct ConvertOptions {
pub image_handling: ImageHandling,
pub preserve_whitespace: bool,
pub html_underline: bool,
pub html_strikethrough: bool,
pub strict_reference_validation: bool,
}Expand description
Options for DOCX to Markdown conversion.
Fields§
§image_handling: ImageHandlingHow to handle images in the document.
preserve_whitespace: boolWhether to preserve exact whitespace.
html_underline: boolWhether to use HTML for underlined text.
html_strikethrough: boolWhether to use HTML for strikethrough text.
strict_reference_validation: boolWhether to fail conversion when a referenced note/comment cannot be resolved.
Trait Implementations§
Source§impl Clone for ConvertOptions
impl Clone for ConvertOptions
Source§fn clone(&self) -> ConvertOptions
fn clone(&self) -> ConvertOptions
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 ConvertOptions
impl Debug for ConvertOptions
Auto Trait Implementations§
impl Freeze for ConvertOptions
impl RefUnwindSafe for ConvertOptions
impl Send for ConvertOptions
impl Sync for ConvertOptions
impl Unpin for ConvertOptions
impl UnsafeUnpin for ConvertOptions
impl UnwindSafe for ConvertOptions
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