pub struct DiffOptions {
pub part: Option<String>,
pub style: Option<String>,
pub para_text: Option<String>,
pub raw: bool,
pub full: bool,
pub limit: usize,
}Expand description
jubarte debug diff options.
Fields§
§part: Option<String>Only parts whose name or role contains this.
style: Option<String>Only the style with this name or id (case-insensitive).
para_text: Option<String>Only paragraphs whose text contains this, in any file.
raw: boolKeep what the diff drops by default.
full: boolPrint each shown element’s common lines too.
limit: usizeHunks per part (0: all).
Trait Implementations§
Source§impl Clone for DiffOptions
impl Clone for DiffOptions
Source§fn clone(&self) -> DiffOptions
fn clone(&self) -> DiffOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiffOptions
impl Debug for DiffOptions
Source§impl Default for DiffOptions
impl Default for DiffOptions
Source§fn default() -> DiffOptions
fn default() -> DiffOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for DiffOptions
impl Freeze for DiffOptions
impl Move for DiffOptions
impl RefUnwindSafe for DiffOptions
impl Send for DiffOptions
impl Sync for DiffOptions
impl Unpin for DiffOptions
impl UnsafeUnpin for DiffOptions
impl UnwindSafe for DiffOptions
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