pub enum MergeStrategy {
Union,
Intersection,
PreferFirst,
PreferSecond,
}Expand description
A merge strategy for combining two serialized declaration lists.
Variants§
Union
Keep all declarations from both lists.
Intersection
Keep only declarations present in both (by name).
PreferFirst
Prefer the first list; only add from second if not in first.
PreferSecond
Prefer the second list; only add from first if not in second.
Auto Trait Implementations§
impl Freeze for MergeStrategy
impl RefUnwindSafe for MergeStrategy
impl Send for MergeStrategy
impl Sync for MergeStrategy
impl Unpin for MergeStrategy
impl UnsafeUnpin for MergeStrategy
impl UnwindSafe for MergeStrategy
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