#[non_exhaustive]pub enum DiffTool {
Auto,
Terminal,
Other(String),
}Expand description
diffTool.
Docs: diffTool.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Claude Code opens the diff in the IDE’s diff viewer when a VS Code or JetBrains IDE is connected.
Terminal
Claude Code keeps the diff in the terminal.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiffTool
impl<'de> Deserialize<'de> for DiffTool
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DiffTool
Source§impl Ord for DiffTool
impl Ord for DiffTool
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DiffTool
impl PartialOrd for DiffTool
impl StructuralPartialEq for DiffTool
Auto Trait Implementations§
impl Forget for DiffTool
impl Freeze for DiffTool
impl Move for DiffTool
impl RefUnwindSafe for DiffTool
impl Send for DiffTool
impl Sync for DiffTool
impl Unpin for DiffTool
impl UnsafeUnpin for DiffTool
impl UnwindSafe for DiffTool
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