pub struct Diff2HtmlConfig {Show 16 fields
pub input: String,
pub output: String,
pub diff: String,
pub style: String,
pub synchronized_scroll: String,
pub summary: String,
pub matching: String,
pub match_words_threshold: f64,
pub matching_max_comparisons: usize,
pub file: Option<String>,
pub format: String,
pub is_combined: bool,
pub max_line_length_highlight: usize,
pub word_by_word: bool,
pub char_by_char: bool,
pub trail: Option<Vec<String>>,
}Fields§
§input: String§output: String§diff: String§style: String§synchronized_scroll: String§summary: String§matching: String§match_words_threshold: f64§matching_max_comparisons: usize§file: Option<String>§format: String§is_combined: bool§max_line_length_highlight: usize§word_by_word: bool§char_by_char: bool§trail: Option<Vec<String>>Trait Implementations§
Source§impl Clone for Diff2HtmlConfig
impl Clone for Diff2HtmlConfig
Source§fn clone(&self) -> Diff2HtmlConfig
fn clone(&self) -> Diff2HtmlConfig
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 Default for Diff2HtmlConfig
impl Default for Diff2HtmlConfig
Source§fn default() -> Diff2HtmlConfig
fn default() -> Diff2HtmlConfig
Returns the “default value” for a type. Read more
Source§impl<'a> From<ArgMatches<'a>> for Diff2HtmlConfig
impl<'a> From<ArgMatches<'a>> for Diff2HtmlConfig
Source§fn from(matches: ArgMatches<'a>) -> Diff2HtmlConfig
fn from(matches: ArgMatches<'a>) -> Diff2HtmlConfig
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Diff2HtmlConfig
impl RefUnwindSafe for Diff2HtmlConfig
impl Send for Diff2HtmlConfig
impl Sync for Diff2HtmlConfig
impl Unpin for Diff2HtmlConfig
impl UnwindSafe for Diff2HtmlConfig
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