pub struct Options {
pub algorithm: Option<Algorithm>,
pub skip_internal_diff_if_external_is_configured: bool,
}
Available on crate feature
blob
only.Expand description
Options for use in Platform::new().
Fields§
§algorithm: Option<Algorithm>
The algorithm to use when diffing. If unset, it uses the default algorithm.
skip_internal_diff_if_external_is_configured: bool
If true
, default false
, then an external diff
configured using gitattributes and drivers,
will cause the built-in diff to be skipped.
Otherwise, the internal diff is called despite the configured external diff, which is
typically what callers expect by default.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)