Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

DiffResult

A fragment of a computed diff.

Fully qualified path: diff::types::DiffResult

pub enum DiffResult {
    Left: T,
    Both: (T, T),
    Right: T,
}

Variants

Left

An element that only exists in the left input.

Fully qualified path: diff::types::DiffResult::Left

Left: T

Both

Elements that exist in both inputs.

Fully qualified path: diff::types::DiffResult::Both

Both: (T, T)

An element that only exists in the right input.

Fully qualified path: diff::types::DiffResult::Right

Right: T