pub enum Merge {
Replace,
Union,
Deep,
}Expand description
How the values for one setting combine when several layers supply them.
Variants§
Replace
The highest-precedence value wins outright.
Union
Every layer contributes; a list is the concatenation, lowest precedence first.
Deep
Tables merge key by key, the higher precedence winning each key.
Trait Implementations§
impl Copy for Merge
impl Eq for Merge
impl StructuralPartialEq for Merge
Auto Trait Implementations§
impl Freeze for Merge
impl RefUnwindSafe for Merge
impl Send for Merge
impl Sync for Merge
impl Unpin for Merge
impl UnsafeUnpin for Merge
impl UnwindSafe for Merge
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