pub struct MergeOptions { /* private fields */ }
Expand description

A collection of options for modifying the way a merge is performed

Implementations

Constructs a new MergeOptions with default settings

Defaults
  • conflict_marker_length = 7
  • style = ConflictStyle::Diff3

Set the length of the conflict markers used when displaying a merge conflict

Set the conflict style used when displaying a merge conflict

Merge two files, given a common ancestor, based on the configured options

Perform a 3-way merge between potentially non-utf8 texts

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.