pub struct ConversionConfig {
pub preserve_styling: bool,
pub target_encoding: String,
pub keep_original: bool,
pub validate_output: bool,
}Expand description
Conversion configuration
Fields§
§preserve_styling: boolWhether to preserve styling information during conversion
target_encoding: StringTarget character encoding for the output file
keep_original: boolWhether to keep the original file after conversion
validate_output: boolWhether to validate the output after conversion
Trait Implementations§
Source§impl Clone for ConversionConfig
impl Clone for ConversionConfig
Source§fn clone(&self) -> ConversionConfig
fn clone(&self) -> ConversionConfig
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 moreAuto Trait Implementations§
impl Freeze for ConversionConfig
impl RefUnwindSafe for ConversionConfig
impl Send for ConversionConfig
impl Sync for ConversionConfig
impl Unpin for ConversionConfig
impl UnwindSafe for ConversionConfig
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