1
2
3
4
5
6
7
8
9
10
11
12
13
/// Configuration option for how to show whitespace when displaying diffs.
#[derive(Clone, Copy, PartialEq, Debug)]
#[non_exhaustive]
pub enum DiffShowWhitespaceSetting {
	/// Do not show whitespace characters.
	None,
	/// Show only trailing whitespace characters.
	Trailing,
	/// Show only leading whitespace characters.
	Leading,
	/// Show both leading and trailing whitespace characters.
	Both,
}