pub struct DifftoolEnv {
pub git_diff_tool: Option<String>,
pub git_difftool_no_prompt: bool,
pub git_difftool_prompt: bool,
pub git_mergetool_gui: Option<bool>,
pub display: Option<String>,
}Expand description
Environment overrides mirroring Git’s GIT_* difftool variables.
Fields§
§git_diff_tool: Option<String>GIT_DIFF_TOOL — force a particular tool name.
git_difftool_no_prompt: boolGIT_DIFFTOOL_NO_PROMPT is set (any value).
git_difftool_prompt: boolGIT_DIFFTOOL_PROMPT is set (any value).
git_mergetool_gui: Option<bool>GIT_MERGETOOL_GUI — "true" / "false" when explicitly set.
display: Option<String>DISPLAY for difftool.guiDefault=auto.
Trait Implementations§
Source§impl Clone for DifftoolEnv
impl Clone for DifftoolEnv
Source§fn clone(&self) -> DifftoolEnv
fn clone(&self) -> DifftoolEnv
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 DifftoolEnv
impl Debug for DifftoolEnv
Source§impl Default for DifftoolEnv
impl Default for DifftoolEnv
Source§fn default() -> DifftoolEnv
fn default() -> DifftoolEnv
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DifftoolEnv
impl RefUnwindSafe for DifftoolEnv
impl Send for DifftoolEnv
impl Sync for DifftoolEnv
impl Unpin for DifftoolEnv
impl UnsafeUnpin for DifftoolEnv
impl UnwindSafe for DifftoolEnv
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