1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
// License: see LICENSE file at root directory of `master` branch

//! # Merge option

/// # Merge option
///
/// This enum is used for mering _options_ between 2 instances of [`Args`][::Args].
///
/// [::Args]: struct.Args.html
#[derive(Debug, Eq, PartialEq, Hash)]
pub enum MergeOption {

    /// # Take all items from source, _overwriting_ target's
    TakeAll,

    /// # Take all items from source, _ignoring_ existing ones in target
    IgnoreExisting,

}